Re: RfD: more powerful "any" types - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RfD: more powerful "any" types
Date
Msg-id 12666.1252429028@sss.pgh.pa.us
Whole thread Raw
In response to Re: RfD: more powerful "any" types  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: RfD: more powerful "any" types
List 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 by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: RfD: more powerful "any" types
Next
From: "David E. Wheeler"
Date:
Subject: Re: RfD: more powerful "any" types