pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gary Jackson <bargle@umiacs.umd.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: Downlevel database
Date: Fri, 04 Feb 2005 12:08:25 -0500
Message-ID: <15306.1107536905@sss.pgh.pa.us> (raw)
In-Reply-To: <27afcdf4f7f6c6de86d93dc87d9bb6ec@umiacs.umd.edu>
References: <27afcdf4f7f6c6de86d93dc87d9bb6ec@umiacs.umd.edu>

Gary Jackson <bargle@umiacs.umd.edu> writes:
> We have a problem with a PosgreSQL database where the user cannot get 
> to their tables any more.  I am not the primary administrator of this 
> host (who is on vacation), nor am I the user of this database.  The 
> /var/log/posgresql file has entries like the following, at the end:

> FATAL 1:  Database "trees_rock" does not exist in the system catalog.

> The current running version of the database is 7.2.2, and I suspect the 
> database was created and maintained with 7.3.4 (after examining the 
> bash history file for user postgres).

> Would running downlevel software cause this problem?  Does this seem 
> likely or possible?

No, no, and no.  A 7.2.anything server would flat out refuse to start in
a 7.3.* database (because it checks PG_VERSION).  You might have been
using 7.3 client-side code to talk to the 7.2 server, but that wouldn't
cause this sort of failure.

A possible quick-and-dirty solution is "VACUUM pg_database" (issued from
any of the databases that you can get into).  If that doesn't work then
you've got serious problems :-(

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <15306.1107536905@sss.pgh.pa.us>
Permalink:  ../15306.1107536905@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15306.1107536905@sss.pgh.pa.us

 · 

reply

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, bargle@umiacs.umd.edu
  Subject: Re: Downlevel database
  In-Reply-To: <15306.1107536905@sss.pgh.pa.us>
  References: <27afcdf4f7f6c6de86d93dc87d9bb6ec@umiacs.umd.edu> <15306.1107536905@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