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

From James Pye
Subject Re: RfD: more powerful "any" types
Date
Msg-id 0CECE3D0-0836-456F-BDF5-5CE6B58CDC60@jwp.name
Whole thread Raw
In response to Re: RfD: more powerful "any" types  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Sep 9, 2009, at 4:44 AM, Peter Eisentraut wrote:
> That's beginning to sound a bit like a generics feature.  E.g.,
>
> CREATE FUNCTION the_same<T>(arg_a T, arg_b T) RETURNS bool AS $$
> SELECT arg_a IS DISTINCT FROM arg_b;
> $$;

mmm, yeah... ISTM that expansion in this area should probably head  
toward generics..

Does SQL spec such a thing?


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: RfD: more powerful "any" types
Next
From: Alvaro Herrera
Date:
Subject: Re: RfD: more powerful "any" types