Re: [HACKERS] psql - add ability to test whether a variable exists

Поиск
Список
Период
Сортировка
От Robins Tharakan
Тема Re: [HACKERS] psql - add ability to test whether a variable exists
Дата
Msg-id 20170919140700.1354.86123.pgcf@coridan.postgresql.org
обсуждение исходный текст
Ответ на Re: [HACKERS] psql - add ability to test whether a variable exists  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: [HACKERS] psql - add ability to test whether a variable exists  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  not tested
Implements feature:       tested, failed
Spec compliant:           not tested
Documentation:            tested, failed

The patch applies cleanly and compiles + installs fine (although am unable to do installcheck-world on my Cygwin
setup).
This is how the patch works on my setup.

$ /opt/postgres/reviewpatch/bin/psql -U postgres -h localhost
psql (11devel, server 9.6.1)
Type "help" for help.

postgres=# \set i 1
postgres=# \if :{?i}
postgres=# \echo 'testing'
testing
postgres=# \endif
postgres=# \if :{?id}
postgres@# \echo 'testing'
\echo command ignored; use \endif or Ctrl-C to exit current \if block
postgres@# \endif
postgres=#

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [HACKERS] Boom filters for hash joins (was: A design for amcheckheapam verification)
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed