Re: [HACKERS] Unable to create tables...

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Don Baccus <dhogaza(at)pacifier(dot)com>
Cc: Postgres Hackers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Unable to create tables...
Date: 1999-08-06 19:53:52
Message-ID: 37AB3D50.90B9448C@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs 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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Don Baccus 1999-08-06 19:59:33 Re: [HACKERS] Unable to create tables...
Previous Message Ross J. Reedstrom 1999-08-06 19:46:38 Re: [HACKERS] Unable to create tables...

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 1999-08-06 19:59:33 Re: [HACKERS] Unable to create tables...
Previous Message Ross J. Reedstrom 1999-08-06 19:46:38 Re: [HACKERS] Unable to create tables...