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

From Tom Lane
Subject Re: database owner gone?
Date
Msg-id 15203.1144435171@sss.pgh.pa.us
Whole thread Raw
In response to database owner gone?  ("Evert Daman" <e.daman@student.tudelft.nl>)
List pgsql-admin
"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: "cruise0078"
Date:
Subject: I have a question?
Next
From: "C K"
Date:
Subject: MS Access and PostgreSQL