Re: enums

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: enums
Дата
Msg-id 20051028202326.GU13187@pervasive.com
обсуждение исходный текст
Ответ на Re: enums  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: enums  (Andrew Dunstan <andrew@dunslane.net>)
Список 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 по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: enums
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",