Re: [ADMIN] Problems with enums after pg_upgrade

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [ADMIN] Problems with enums after pg_upgrade
Дата
Msg-id 20121219155646.GA5910@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: [ADMIN] Problems with enums after pg_upgrade  (Bernhard Schrader <bernhard.schrader@innogames.de>)
Ответы Re: [ADMIN] Problems with enums after pg_upgrade
Re: [ADMIN] Problems with enums after pg_upgrade
Список pgsql-hackers
On 2012-12-19 16:51:32 +0100, Bernhard Schrader wrote:
> Hello again,
>
> well, still everything is working.
>
> What information do you need to get into this issue?
>
> Well, so far i can say, we dont use ALTER TYPE ADD VALUE. We use some more
> or less changed enum_add and enum_del (Which are appended at the end) to be
> able to change enums within transactions.

That explains everything. You *CANNOT* do that. There are some pretty
fundamental reasons why you are not allowed to add enums in a
transaction. And even more reasons why deleting from enums isn't allowed
at all.

Greetings,

Andres Freund

--Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bernhard Schrader
Дата:
Сообщение: Re: [ADMIN] Problems with enums after pg_upgrade
Следующее
От: Pavan Deolasee
Дата:
Сообщение: Re: Set visibility map bit after HOT prune