Re: database owner gone?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Evert Daman" <e(dot)daman(at)student(dot)tudelft(dot)nl>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: database owner gone?
Date: 2006-04-07 18:39:31
Message-ID: 15203.1144435171@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Evert Daman" <e(dot)daman(at)student(dot)tudelft(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message C K 2006-04-07 19:45:49 MS Access and PostgreSQL
Previous Message Rajesh Kumar Mallah 2006-04-07 04:55:06 Re: Storage and Backup