Re: quoting internal variable names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: quoting internal variable names
Дата
Msg-id 11274.1108875896@sss.pgh.pa.us
обсуждение исходный текст
Ответ на quoting internal variable names  (Ron Peterson <rpeterso@mtholyoke.edu>)
Список pgsql-general
Ron Peterson <rpeterso@mtholyoke.edu> writes:
> So it seems like the single quotes are causing :v_encoding to be read as
> a string literal for ENCODING, but they don't do that for WITH PASSWORD.

Yeah, they behave the same in both cases.  If you'd experimented you
would have found that the password was set to ":v_dbpass", presumably
not what you wanted, but it's OK as far as CREATE USER knows.

            regards, tom lane

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

Предыдущее
От: "Net Virtual Mailing Lists"
Дата:
Сообщение: Triggers, again.. ;-)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PGSQL 8.0.1 Win 2K Installation Problem