From: bboett@erm1.u-strasbg.fr
To: pgsql-sql@postgresql.org
Subject: no more pg_dump cause of multiple declared database??
Date: Wed, 9 May 2001 09:12:09 +0200
Message-ID: <20010509091209.B16061@erm1.u-strasbg.fr> (raw)
Hello
a problem i am encountering quite frequently lately.....
for some reason my databases are registered under several users and
making a pg_dump gives me the following error:
getDatabase(): SELECT failed. Explanation from backend: 'ERROR: More
than one tuple returned by a subselect used as an expression.
'.
going into psql and looking at the DB's i get:
fibu=# \l
List of databases
Database | Owner | Encoding
-----------+----------+-----------
admin | www | SQL_ASCII
fibu | bboett | SQL_ASCII
fibu | hordemgr | SQL_ASCII
horde | www | SQL_ASCII
template0 | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
(6 rows)
how can this be? i tryed to remove the hordemgr version of the fibu DB
but then my own vanishes too, so it seems really that both point onto
the same DB in fact???
is there a way to remove the hordemgr (which isn't even a valid postgres
user as far as i can tell) line concerning the fibu DB?
But even with that, is there a way t get the pg_dump command to work?
i tryed with the -S flag, but still it doesn't work....
BTW this problem also prevents the pg_dumpall which is really annoying
since it prevents me from making backups of the DB's automaticly....
--
ciao bboett
==============================================================
bboett@earthling.net
http://inforezo.u-strasbg.fr/~bboetthttp://erm1.u-strasbg.fr/~bboett
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....
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-sql@postgresql.org
Cc: bboett@erm1.u-strasbg.fr
Subject: Re: no more pg_dump cause of multiple declared database??
In-Reply-To: <20010509091209.B16061@erm1.u-strasbg.fr>
References: <20010509091209.B16061@erm1.u-strasbg.fr>
* 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