Re: "anyelement2" pseudotype

From: Tom Dunstan <pgsql(at)tomd(dot)cc>
To: Matt Miller <pgsql(at)mattmillersf(dot)fastmail(dot)fm>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: "anyelement2" pseudotype
Date: 2007-02-14 16:25:16
Message-ID: 45D337EC.9030201@tomd.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-14 16:27:31 Re: integer datetimes
Previous Message Alvaro Herrera 2007-02-14 16:19:43 Re: Writing triggers in C++