2009/11/16 Peter Eisentraut <pete...@gmx.net>:
> On mån, 2009-11-16 at 10:19 +0100, Pavel Stehule wrote:
>> wrong:
>>
>> pa...@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.

I don't see it, Peter?

Is it some reason for it? I don't understand, why this order is correct:

execute statement
process external variables
finish

Pavel

>
>
>

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

Reply via email to