pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Glenn <mike@mglenn.com>
To: pgsql-admin@postgresql.org
Subject: Database 'xxxx', OID yyyyy, has disappeared from pg_database
Date: Wed, 24 Apr 2002 18:24:52 -0400
Message-ID: <3CC730B4.3090408@mglenn.com> (raw)

I receive the following error when trying to connect to ALL postgres 
databases on my system.

Database 'xxxx', OID yyyyy, has disappeared from pg_database

The various archives have other users that had this problem and the 
solution is to vacuum the pg_database, however;

bash$ vacuumdb pg_database
psql: FATAL 1:  Database "pg_database" does not exist in the system catalog.
vacuumdb: vacuum failed

I also cannot connect to any database precluding me from running vacuum 
pg_database from the psql command line. I cannot create a database and 
attempt this as,

bash$ createdb tester
psql: FATAL 1:  Database 'template1', OID 17216, has disappeared from 
pg_database
createdb: database creation failed

Any suggestions?

RedHat
Linux Kernel 2.2.14-5
PostgreSQL 7.0.0 - yeah, I know I should have upgraded. SOL?

Thanks in advance.

-- 
Michael Glenn
http://www.mglenn.com
416.544.9904






view thread (13+ messages)  latest in thread

Message-ID: <3CC730B4.3090408@mglenn.com>
Permalink:  ../3CC730B4.3090408@mglenn.com/
Also on:    postgresql.org/message-id/3CC730B4.3090408@mglenn.com

 · 

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: mike@mglenn.com
  Subject: Re: Database 'xxxx', OID yyyyy, has disappeared from pg_database
  In-Reply-To: <3CC730B4.3090408@mglenn.com>
  References: <3CC730B4.3090408@mglenn.com>

* 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