Re: generic builtin functions - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: generic builtin functions
Date
Msg-id 20051110171230.GF19686@svana.org
Whole thread Raw
In response to generic builtin functions  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: generic builtin functions  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Thu, Nov 10, 2005 at 12:02:58PM -0500, Andrew Dunstan wrote:
>
> I am looking at creating a few generic functions builtin for the enum
> stuff. These would be tied to each enum type as it is created. However,
> they should not really appear in pg_proc initially, as there wouldn't be
> any enum types to tie them to anyway. But I want them to have reserved
> oids and appear in the list of builtins.

Why? What's wrong with creating the functions when people use the
module, like every other module in contrib? Is there a reason you need
fixed oids?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: generic builtin functions
Next
From: Andrew Dunstan
Date:
Subject: Re: generic builtin functions