pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Evert Daman <e.daman@wanadoo.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: database owner gone?
Date: Fri, 7 Apr 2006 23:31:00 +0200
Message-ID: <005401c65a8a$908e2820$0b01a8c0@beneden> (raw)
References: <002801c654b4$816eb340$91512b0a@B100>
	<15203.1144435171@sss.pgh.pa.us>


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




view thread (4+ messages)  latest in thread

Message-ID: <005401c65a8a$908e2820$0b01a8c0@beneden>
Permalink:  ../005401c65a8a$908e2820$0b01a8c0@beneden/
Also on:    postgresql.org/message-id/005401c65a8a$908e2820$0b01a8c0@beneden

 · 

reply

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@wanadoo.nl, tgl@sss.pgh.pa.us
  Subject: Re: database owner gone?
  In-Reply-To: <005401c65a8a$908e2820$0b01a8c0@beneden>
  References: <002801c654b4$816eb340$91512b0a@B100> <15203.1144435171@sss.pgh.pa.us> <005401c65a8a$908e2820$0b01a8c0@beneden>

* 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