pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Ricardo Medina <dmedina@computec.com.co>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: URGENT TABLE PG_SHADOW CORRUTEP
Date: Mon, 26 Mar 2007 08:52:08 -0500
Message-ID: <873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com> (raw)
In-Reply-To: <8911.1174848707@sss.pgh.pa.us>

 
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



view thread (6+ messages)  latest in thread

Message-ID: <873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com>
Permalink:  ../873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com/
Also on:    postgresql.org/message-id/873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com

 · 

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: dmedina@computec.com.co, tgl@sss.pgh.pa.us
  Subject: Re: URGENT TABLE PG_SHADOW CORRUTEP
  In-Reply-To: <873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com>
  References: <8911.1174848707@sss.pgh.pa.us> <873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com>

* 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