Re: pg_upgrade bug found! - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: pg_upgrade bug found!
Date
Msg-id 20110409015708.GI4548@tamriel.snowman.net
Whole thread Raw
In response to Re: pg_upgrade bug found!  (bricklen <bricklen@gmail.com>)
Responses Re: pg_upgrade bug found!  (bricklen <bricklen@gmail.com>)
List pgsql-hackers
bricklen,

* bricklen (bricklen@gmail.com) wrote:
> I've been noticing in my logs for the past few days the message you
> note in the wiki. It seems to occur during a vacuum around 7:30am
> every day. I will be running the suggested script shortly, but can
> anyone tell me in how bad of shape my db is in? This is our production
> db with two hot standby's running off it.

Unfortunately, I don't think the script that Bruce posted will help if
the clog files have been removed (which appears to be the case here).
Do you have a backup which includes older files which existed under the
'pg_clog' directory under your database's root?  Hopefully you do and
can restore those and restart the database.  If you restore and then
restart then Bruce's script could be run and hopefully would clear out
these errors.

Bruce, please correct me if I got any part of this wrong.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: using a lot of maintenance_work_mem
Next
From: bricklen
Date:
Subject: Re: pg_upgrade bug found!