Re: --single-transaction hack to pg_upgrade does not work

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: --single-transaction hack to pg_upgrade does not work
Дата
Msg-id 20121201163840.GC16220@alap2
обсуждение исходный текст
Ответ на Re: --single-transaction hack to pg_upgrade does not work  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: --single-transaction hack to pg_upgrade does not work
Re: --single-transaction hack to pg_upgrade does not work
Список pgsql-hackers
On 2012-12-01 17:36:20 +0100, Andres Freund wrote:
> On 2012-12-01 17:03:03 +0100, Andres Freund wrote:
> > Could we possibly allow adding enum values to a type which was just created in
> > this transaction? That shouldn't be too hard. At least easier than providing
> > the capability to pre-assign the next N oids...
>
> The attached patch does just that. Its *not* ready yet though, as it
> will be apparent for everyone who reads it ;)
>
> To really make that work in a reliable manner we would probably need
> an rd_createSubid for typcache entries instead of testing xmin as I have
> done here?

And the patch...

Greetings,

Andres Freund

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

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: --single-transaction hack to pg_upgrade does not work
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE ... NOREWRITE option