Re: pg_dumpall problem - duplicated users - Mailing list pgsql-admin

From Bartek GRUbY
Subject Re: pg_dumpall problem - duplicated users
Date
Msg-id 20050901134207.7274CD88A0@svr1.postgresql.org
Whole thread Raw
In response to pg_dumpall problem - duplicated users  (Przemysław Nogaj <pn@tey.pl>)
Responses Re: pg_dumpall problem - duplicated users  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hi,
i have similar problem - can't make dumps of any db with the same error message (and all applications using this pg
serverworks 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
andcreate users on db with no users at all (cause pg_shadow will be empty :). 

Thanks for any (and quick :) help,
greetings,

Bartek

pgsql-admin by date:

Previous
From: "sandhya"
Date:
Subject: Reg:Connection Object
Next
From: Michael Fuhr
Date:
Subject: Re: Reg:Connection Object