Re: CLUSTER patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CLUSTER patch
Дата
Msg-id 20125.1026672410@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CLUSTER patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: CLUSTER patch  (Alvaro Herrera <alvherre@atentus.com>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> This case is actually more complicated because after the swap, pg_class
> still says thisxactonly but the relfilenode points to non-thisactonly
> buffers, and via versa.

pg_class doesn't say anything (if it did, we could make relcache.c
track it).

But yes, the problem is that myxactonly has to line up with where the
buffers are stored.  As I mentioned, I think it would work to flush out
all buffers for both rels before doing the swap.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CLUSTER patch
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: CLUSTER patch