X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ED115D89B2 for ; Thu, 1 Sep 2005 10:42:11 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14858-03 for ; Thu, 1 Sep 2005 13:42:10 +0000 (GMT) Received: from mail131.pi.net.pl (gips.pi.net.pl [195.116.221.99]) by svr1.postgresql.org (Postfix) with SMTP id 7274CD88A0 for ; Thu, 1 Sep 2005 10:42:07 -0300 (ADT) Received: (qmail 29220 invoked from network); 1 Sep 2005 13:42:11 -0000 Received: from unknown (HELO main) (grubby@epf.pl@195.116.221.66) by 195.205.153.131 with SMTP; 1 Sep 2005 13:42:11 -0000 From: "Bartek GRUbY" Date: 1 Sep 2005 15:42:10 +0200 To: pgsql-admin@postgresql.org Subject: Re: pg_dumpall problem - duplicated users X-Priority: 3 X-Mailer: Panorama Internetu Mailer v2.02 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit Message-Id: <20050901134207.7274CD88A0@svr1.postgresql.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.728 required=5 tests=[MSGID_FROM_MTA_ID=1.704, RCVD_BY_IP=0.024] X-Spam-Level: * X-Archive-Number: 200509/2 X-Sequence-Number: 18739 Hi, i have similar problem - can't make dumps of any db with the same error message (and all applications using this pg server works fine) . But in my case, i think, only user 'postgres' is duplicated: template1=> select * from pg_catalog.pg_shadow where usename = 'postgres'; usename | usesysid | usecreatedb | usesuper | usecatupd | passwd | valuntil | useconfig ----------+----------+-------------+----------+-----------+-------------------------------------+----------+----------- postgres | 1 | t | t | t | | | postgres | 1 | t | t | t | md5c084502ed11efa9d3d96d29717a5e555 | | (2 rows) template1=> select * from pg_namespace ; nspname | nspowner | nspacl ------------+----------+-------- pg_catalog | 1 | {=U} pg_toast | 1 | {=} public | 1 | {=UC} pg_temp_1 | 1 | (4 rows) And every change i made to user postgres has effect to the one with passwd set. I can delete only him too. Someone can help? Im running out of time so every advice will be appreciated. Maybe someone know how to delete whole pg_shadow table and create users on db with no users at all (cause pg_shadow will be empty :). Thanks for any (and quick :) help, greetings, Bartek