Re: generic builtin functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: generic builtin functions
Date: 2005-11-10 23:10:37
Message-ID: 12712.1131664237@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> What about having the calling code fill in the io type oid in an extra field
> in the flinfo?

I don't think that's workable; for one thing there's the problem of
manual invocation of the I/O functions, which is not going to provide
any such special hack. It also turns the enum proposal into a seriously
invasive patch (hitting all PLs both inside and outside the core, for
instance), at which point you'll start encountering some significant
push-back.

BTW, you might want to think about what'd be involved in supporting
arrays and domains over enums ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-11-10 23:30:01 Re: 8.0 -> 8.1 dump duplicate key problem?
Previous Message Guillaume LELARGE 2005-11-10 22:53:04 server closed connection on a select query