Обсуждение: pgsql: Improve some psql test code

Поиск
Список
Период
Сортировка

pgsql: Improve some psql test code

От
Peter Eisentraut
Дата:
Improve some psql test code

Split psql_like() into two functions psql_like() and psql_fails_like()
and make them mirror the existing command_like() and
command_fails_like() more closely.  In particular, follow the
universal convention that the test name is the last argument.

Discussion: https://www.postgresql.org/message-id/3199e176-424e-1bef-f180-c1548466c2da@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fbee60f6a4ff2561f5a5af23959a29967f53fbde

Modified Files
--------------
src/bin/psql/t/001_basic.pl | 59 ++++++++++++++++++++++-----------------------
1 file changed, 29 insertions(+), 30 deletions(-)