Re: CLUSTER patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)atentus(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: CLUSTER patch
Date: 2002-07-14 18:46:50
Message-ID: 20125.1026672410@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2002-07-14 19:30:47 Re: CLUSTER patch
Previous Message Tom Lane 2002-07-14 18:25:52 Re: CLUSTER patch