Re: Undefined psql variables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Undefined psql variables
Дата
Msg-id 6247.1491163222@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] Undefined psql variables  (Corey Huinker <corey.huinker@gmail.com>)
Ответы Re: Undefined psql variables
Список pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> For checking variable definition, I would suggest to extend the variable 
> access syntax so that there is no exception to the one thing rule between 
> client side and server side evaluation:

>    \if :?variable

Don't like that one bit; you're going to run out of namespace there
in no time.  And you don't have a very good way to say "if not defined",
either.
        regards, tom lane



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: Variable substitution in psql backtick expansion
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Suggested fix for \p and \r in psql