Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5E1999FB421 for ; Mon, 26 Mar 2007 10:53:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 43623-05 for ; Mon, 26 Mar 2007 10:52:57 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from actenon.computec.com.co (actenon.computec.com.co [200.74.143.146]) by postgresql.org (Postfix) with SMTP id A70789FB271 for ; Mon, 26 Mar 2007 10:52:57 -0300 (ADT) Received: from computecnew.redcorp.computec.com ([172.24.10.109]) by actenon.computec.com.co (SMSSMTP 4.1.11.41) with SMTP id M2007032608510208550 ; Mon, 26 Mar 2007 08:51:02 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: URGENT TABLE PG_SHADOW CORRUTEP Date: Mon, 26 Mar 2007 08:52:08 -0500 Message-ID: <873F3E256E0BF14EA84EAC54C2886B5D0B9835@computecnew.redcorp.computec.com> In-Reply-To: <8911.1174848707@sss.pgh.pa.us> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] URGENT TABLE PG_SHADOW CORRUTEP Thread-Index: AcdvDp3CltAx00MzSBiVdjIiEo8klgAnxUBA From: "Daniel Ricardo Medina" To: "Tom Lane" Cc: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.565 tagged_above=0 required=5 tests=AWL, BAYES_50, SUBJ_ALL_CAPS, UPPERCASE_25_50 X-Spam-Level: X-Archive-Number: 200703/193 X-Sequence-Number: 25017 =20 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]=20 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=20 "Daniel Ricardo Medina" writes: > I have try to run this command in single user mod > =20 > select * from pg_shadow; > delete from pg_shadow; > CREATE USER postgres WITH CREATEDB CREATEUSER PASSWORD '***' SYSID 1;=20 > 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