Re: [GENERAL] CREATE USER within function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] CREATE USER within function
Дата
Msg-id 5287.1050385499@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] CREATE USER within function  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Jan, would you take a look at this?  It is reproducable.  I see the
> query sending "CREATE USER $1 ..." in the server logs.

Hardly requires much looking: utility statements don't take parameter
symbols, only literal constants.  The only way to do this from plpgsql
at the moment is with EXECUTE.

            regards, tom lane

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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] Bug #943: Server-Encoding from EUC_TW to
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] CREATE USER within function