From: Tom Lane <tgl@sss.pgh.pa.us>
To: Evert Daman <e.daman@student.tudelft.nl>
Cc: pgsql-admin@postgresql.org
Subject: Re: database owner gone?
Date: Fri, 07 Apr 2006 14:39:31 -0400
Message-ID: <15203.1144435171@sss.pgh.pa.us> (raw)
In-Reply-To: <002801c654b4$816eb340$91512b0a@B100>
References: <002801c654b4$816eb340$91512b0a@B100>
"Evert Daman" <e.daman@student.tudelft.nl> writes:
> select * from pg_user gives me only 1 user (postgres). pg_shadow
> also gives 1 user. so i tried recreating the admin user with
> createuser admin (as postgres user) but that failed saying admin
> allready exists! so where is it now? and how do i get access
> back to my database using pg_dump and phppgadmin?
What PG version is this? How long has it been since you vacuumed
pg_shadow, or the other catalogs for that matter?
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, e.daman@student.tudelft.nl
Subject: Re: database owner gone?
In-Reply-To: <15203.1144435171@sss.pgh.pa.us>
References: <002801c654b4$816eb340$91512b0a@B100> <15203.1144435171@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