Re: "anyelement2" pseudotype - Mailing list pgsql-hackers

From Tom Dunstan
Subject Re: "anyelement2" pseudotype
Date
Msg-id 45D337EC.9030201@tomd.cc
Whole thread Raw
In response to Re: "anyelement2" pseudotype  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: "anyelement2" pseudotype  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: "anyelement2" pseudotype  (Tom Dunstan <tom@tomd.cc>)
List pgsql-hackers
Tom Lane wrote:
> As for actually adding it, grep for all references to ANYELEMENT and add
> code accordingly; shouldn't be that hard.  Note you'd need to add an
> anyarray2 at the same time for things to keep working sanely.

The enum patch [1] does exactly this with an ANYENUM pseudo-type. It 
should provide a pretty good overview of what will be required.

Cheers

Tom

[1] http://archives.postgresql.org/pgsql-patches/2007-02/msg00239.php



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: integer datetimes
Next
From: Dave Page
Date:
Subject: Re: 8.1 stats issues on Win32