Re: Can't pg_dumpall, claims database exists twice

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can't pg_dumpall, claims database exists twice
Date: 2005-03-28 15:39:35
Message-ID: 20050328153935.GA70616@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Mar 28, 2005 at 12:51:19AM -0700, Scott Ribe wrote:
> pg_dumpall is failing with this error:
>
> pg_dump: query returned more than one (2) pg_database entry for database
> "pedcard"
> pg_dumpall: pg_dump failed on database "pedcard", exiting
>
> This is 8.0.1 on OS X; where do I start on straightening this out? (There is
> only 1 postmaster running, and it seems OK from client apps, both my own app
> and psql.)

What's the result of the following query?

SELECT tableoid, xmin, xmax, oid, datname, datdba,
datvacuumxid, datfrozenxid
FROM pg_database
ORDER BY datname, oid;

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2005-03-28 15:40:05 Re: Tablespaces and indexes
Previous Message Thomas F.O'Connell 2005-03-28 15:35:25 Re: Referential integrity using constant in foreign key