Re: RfD: more powerful "any" types

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: RfD: more powerful "any" types
Дата
Msg-id 20090908163250.GG549@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: RfD: more powerful "any" types  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: RfD: more powerful "any" types  ("David E. Wheeler" <david@kineticode.com>)
Re: RfD: more powerful "any" types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > I'm seeking more powerful "any" pseudotypes.
> 
> 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 :-().
> If you want some constraints but not "anyelement", please be more
> specific about what you want.

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

ERROR:  PL/pgSQL functions cannot accept type "any"
ERROR:  SQL functions cannot have arguments of type "any"

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

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