Re: quoting internal variable names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: quoting internal variable names
Дата
Msg-id 200502200104.04472.peter_e@gmx.net
обсуждение исходный текст
Ответ на quoting internal variable names  (Ron Peterson <rpeterso@mtholyoke.edu>)
Список pgsql-general
Ron Peterson wrote:
> Single quotes appear to behave
> differently in diffent contexts.
>
> CREATE USER
>   :v_dbadmin
> WITH PASSWORD
>   ':v_dbpass';

This sets your password to ":v_dbpass", which is probably not what you
wanted.  Your next message contains the correct solution: include the
quotes in the variable value.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: Vitaly Belman
Дата:
Сообщение: Returning 0 rows from a PL/PGSQL
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Returning 0 rows from a PL/PGSQL