Re: psql command line variables are unknown when -c SQL statement are executed

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql command line variables are unknown when -c SQL statement are executed
Дата
Msg-id 1258370638.23638.1.camel@fsopti579.F-Secure.com
обсуждение исходный текст
Ответ на psql command line variables are unknown when -c SQL statement are executed  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: psql command line variables are unknown when -c SQL statement are executed
Список pgsql-bugs
On mån, 2009-11-16 at 10:19 +0100, Pavel Stehule wrote:
> wrong:
>
> pavel@nemesis ~]$ psql postgres -v x=10 -c "select :x"
> ERROR:  syntax error at or near ":"
> LINE 1: select :x
>                ^

This is documented in the psql man page.

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