From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Burrows <steve@jla.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Lost tables in Postgres 7.1
Date: Mon, 13 Feb 2006 12:25:33 -0500
Message-ID: <2492.1139851533@sss.pgh.pa.us> (raw)
In-Reply-To: <43F0ACEA.4090503@jla.com>
References: <43F0ACEA.4090503@jla.com>
Steve Burrows <steve@jla.com> writes:
> Some of my tables have spontaneously disappeared. They are not visible
> in pg_class. vacuuming pg_class (as suggested by Tom Lane for someone
> with a similar problem) did not cause them to reappear.
Not on 7.1 it wouldn't :-(. That hack is dependent on the behavior of
the transaction ID wraparound code that we introduced in 7.2.
First check if this actually is a wrap issue: create a new row and see
if its xmin is small or large. If small, I think the only recourse in
7.1 is to set the XID counter to something just a bit less than 4G,
pg_dump, initdb and reload. If you dig around in the archives from
a few years back you should find discussion of exactly how to do that,
but I've surely forgotten the details.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, steve@jla.com
Subject: Re: Lost tables in Postgres 7.1
In-Reply-To: <2492.1139851533@sss.pgh.pa.us>
References: <43F0ACEA.4090503@jla.com> <2492.1139851533@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox