Re: [HACKERS] Unable to create tables... - Mailing list pgsql-hackers

From Lamar Owen
Subject Re: [HACKERS] Unable to create tables...
Date
Msg-id 37AB3D50.90B9448C@wgcr.org
Whole thread Raw
In response to Re: [DOCS] New man pages  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Responses Re: [HACKERS] Unable to create tables...
List pgsql-hackers
Don Baccus wrote:
> Obviously, some table contents somewhere must be messed
> up.  Any ideas?

Ooooo....

If this were happening to me, I'd probably stop postmaster, rename the
PGDATA tree to something else, initdb, start postmaster, restore from
the last good dump, stop postmaster, copy back the user database dirs
under PGDATA, restart postmaster, VACUUM all tables -- on the production
machine, if that is where the problems are. Then, I'd pull that PGDATA
binary backup over to a development workstation, start up a postmaster
pointing to it, and do a post-mortem, checking all system tables for
their contents, running vacuum, et al (all the while keeping a good copy
of the old PGDATA tree -- just in case something blows up).

Obviously, some system catalog somewhere is getting farkled -- Don, I'm
assuming that you are vacuuming often.

HTHaL

Lamar


pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [HACKERS] Unable to create tables...
Next
From: Don Baccus
Date:
Subject: Re: [HACKERS] Unable to create tables...