Re: database owner gone? - Mailing list pgsql-admin

From Evert Daman
Subject Re: database owner gone?
Date
Msg-id 005401c65a8a$908e2820$0b01a8c0@beneden
Whole thread Raw
In response to database owner gone?  ("Evert Daman" <e.daman@student.tudelft.nl>)
List pgsql-admin
it was postgresql version 7.3.10 and we recovered access
by dumping and recreating (new initdb) the database.
everything is allright now.

we had never used the vacuum before (database was up
for about two months). after doing that too things were
speeding up again. but that couldn't be the cause of the
lost user could it?


----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Evert Daman" <e.daman@student.tudelft.nl>
Cc: <pgsql-admin@postgresql.org>
Sent: Friday, April 07, 2006 8:39 PM
Subject: Re: [ADMIN] database owner gone?


> "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
>
>


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: FW: Setting up of PITR system.
Next
From: "Andrea De Santi"
Date:
Subject: Change System Language