Re: BUG #6212: PREPARE(pseudotype) should be blocked off

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6212: PREPARE(pseudotype) should be blocked off
Дата
Msg-id 5490.1316196671@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6212: PREPARE(pseudotype) should be blocked off  ("Caleb Welton" <Caleb.Welton@emc.com>)
Ответы Re: BUG #6212: PREPARE(pseudotype) should be blocked off
Список pgsql-bugs
"Caleb Welton" <Caleb.Welton@emc.com> writes:
> statements such as:
>   PREPARE p1(anyelement) AS SELECT quote_literal($1);
>   PREPARE p2(internal) AS SELECT int2recv($1);
> Should not be allowed.

Hmm.  It would require an extra catalog lookup per parameter to enforce
that.  Not sure that it's worth it just to prevent "peculiar" errors.
Can you point to any worse consequences?

            regards, tom lane

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

Предыдущее
От: "Caleb Welton"
Дата:
Сообщение: BUG #6212: PREPARE(pseudotype) should be blocked off
Следующее
От:
Дата:
Сообщение: Re: BUG #6212: PREPARE(pseudotype) should be blocked off