Re: URGENT TABLE PG_SHADOW CORRUTEP - Mailing list pgsql-admin

From Daniel Ricardo Medina
Subject Re: URGENT TABLE PG_SHADOW CORRUTEP
Date
Msg-id 873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com
Whole thread Raw
In response to Re: URGENT TABLE PG_SHADOW CORRUTEP  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: URGENT TABLE PG_SHADOW CORRUTEP
List pgsql-admin
After delete all, postgres said no exist the user id 1...



The version is 7.4.8

Daniel Ricardo Medina
Ing. de Desarrollo
Computec S.A.
Tel 260 71 11 Ext 1640

-----Mensaje original-----
De: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Enviado el: Sunday, March 25, 2007 1:52 PM
Para: Daniel Ricardo Medina
CC: pgsql-admin@postgresql.org
Asunto: Re: [ADMIN] URGENT TABLE PG_SHADOW CORRUTEP

"Daniel Ricardo Medina" <dmedina@computec.com.co> writes:
> I have try to run this command in single user mod
>
> select * from pg_shadow;
> delete from pg_shadow;
> CREATE USER postgres WITH CREATEDB CREATEUSER PASSWORD '***' SYSID 1;
> CREATE USER userradar PASSWORD '***'

> but the result is the same.....

What do you see if you look in pg_shadow right after doing the DELETE?
What PG version is this?

            regards, tom lane

pgsql-admin by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: no verification of client certificate?
Next
From: Tom Lane
Date:
Subject: Re: URGENT TABLE PG_SHADOW CORRUTEP