Re: Forward zeroing of pg_clog - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Forward zeroing of pg_clog
Date
Msg-id 20040901145956.GD5798@dcc.uchile.cl
Whole thread Raw
In response to Forward zeroing of pg_clog  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Aug 30, 2004 at 02:19:49PM -0400, Tom Lane wrote:

> This particular issue is just a simple oversight in xact_redo, and it's
> easily fixed: make sure nextXID gets advanced past all of the committed
> or aborted subXIDs too.

Certainly this is the right thing to do.

> [...] but I think the cleanest fix is that the clog code ought to
> forcibly zero all clog entries ahead of whatever nextXID is settled on
> by WAL replay.

I agree with this too.

Thanks for taking care of all this stuff.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"We are who we choose to be", sang the goldfinch
when the sun is high (Sandman)



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: version upgrade
Next
From: G u i d o B a r o s i o
Date:
Subject: Re: [ADMIN] slower every day