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

From Tom Lane
Subject Re: RfD: more powerful "any" types
Date
Msg-id 13499.1252430159@sss.pgh.pa.us
Whole thread Raw
In response to Re: RfD: more powerful "any" types  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: RfD: more powerful "any" types
List pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> On Sep 8, 2009, at 9:57 AM, Tom Lane wrote:
>> 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.

> For my purposes, I guess implicit casting for comparing values, as in

>      arg_a IS DISTINCT FROM arg_b

Surely you'd want arg_a and arg_b constrained to the same type,
otherwise there is no certainty that that means anything at all.
        regards, tom lane


pgsql-hackers by date:

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