Re: enums - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: enums
Date
Msg-id 20051028202326.GU13187@pervasive.com
Whole thread Raw
In response to Re: enums  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: enums
List pgsql-hackers
On Fri, Oct 28, 2005 at 04:12:01PM -0400, Andrew Dunstan wrote:
> Well, with enumkit you can't, because the values are hardwired in the 
> .so file. With a builtin facility you would be able to, because the 
> values would live in the catalog. However, hacking the catalog is not 
> something I would encourage - what you are suggesting basically breaks 
> the abstraction. But sure, it would be possible. I would not provide an 
> SQL level facility to do it, though. My approved way to do it would be 
> like the example I gave earlier.

Why not allow renaming though? It seems like a logical feature to have,
and an easy one to add. What am I missing?
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: enums
Next
From: "Jim C. Nasby"
Date:
Subject: Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",