From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Glenn <mike@mglenn.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database 'xxxx', OID yyyyy, has disappeared from pg_database
Date: Thu, 25 Apr 2002 10:04:58 -0400
Message-ID: <25260.1019743498@sss.pgh.pa.us> (raw)
In-Reply-To: <3CC80B35.1070204@mglenn.com>
References: <3CC80B35.1070204@mglenn.com>
Michael Glenn <mike@mglenn.com> writes:
> The log is only 98K.
Okay, then you haven't executed four billion transactions...
Probably the next thing is to look at pg_database and try to understand
why all the rows are showing as dead. There are a couple of tools
around that can dump out the contents of tuple headers. I'd suggest
pg_filedump (http://sources.redhat.com/rhdb/tools.html), but it is
intended for 7.1/7.2 and you'd need to do a little surgery to make it
work on 7.0 files. (I think ripping out the code that expects an LSN
field to be present in the page header would be enough.) If you check
the PG list archives you will find references to one or two older
programs in the same vein; there might still be something available
that will work on 7.0 files without modification.
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, mike@mglenn.com
Subject: Re: Database 'xxxx', OID yyyyy, has disappeared from pg_database
In-Reply-To: <25260.1019743498@sss.pgh.pa.us>
References: <3CC80B35.1070204@mglenn.com> <25260.1019743498@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