Re: RfD: more powerful "any" types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RfD: more powerful "any" types
Дата
Msg-id 12666.1252429028@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: RfD: more powerful "any" types  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: RfD: more powerful "any" types  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> If you don't want any constraints at all on the argument types, you
>> can use "any" (with the quotes, because it's a reserved word :-().

> That would work, except that plpgsql and SQL don't like it:

Intentionally so, because there's not a whole lot you can *do* with an
ANY parameter, other than checking it for null.  Perhaps the real
question is about what semantics you're expecting for these
unconstrained parameters.
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: RfD: more powerful "any" types
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: RfD: more powerful "any" types