From: Evert Daman <e.daman@student.tudelft.nl>
To: pgsql-admin@postgresql.org
Subject: database owner gone?
Date: Fri, 31 Mar 2006 13:16:06 +0200
Message-ID: <002801c654b4$816eb340$91512b0a@B100> (raw)
we have a problem here at a large database using postgresql.
i used it with no problems yesterday and suddenly today all
the databases were no longer visible in phppgadmin.
using pgsql -U admin <database> does give me access.
so i thought something was wrong with the usersettings. checking
these settings with \d reveales that the table no longer had
an owner.
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?
thanx for any help,
Evert
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: e.daman@student.tudelft.nl
Subject: Re: database owner gone?
In-Reply-To: <002801c654b4$816eb340$91512b0a@B100>
References: <002801c654b4$816eb340$91512b0a@B100>
* 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