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

From David E. Wheeler
Subject Re: RfD: more powerful "any" types
Date
Msg-id E3F77D42-E4EF-4073-904E-6C517663902C@kineticode.com
Whole thread Raw
In response to Re: RfD: more powerful "any" types  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: RfD: more powerful "any" types
Re: RfD: more powerful "any" types
List pgsql-hackers
On Sep 9, 2009, at 10:17 AM, Tom Lane wrote:

> Well, none, *if* it's defined to have exactly the same runtime  
> behavior
> as anyelement does.  It sounded like you were arguing for something
> looser.  We could certainly define it as being just like anyelement
> but not constrained to match any other argument or result (and, hence,
> not usable as a result type).

Yes, that sounds about right. Is that not basically what Alvaro was  
looking for to start with? And is there an "any" array that could work  
for variadic functions like sprintf(), as well?

Best,

David


pgsql-hackers by date:

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