From: Bartek GRUbY <grubby@epf.pl>
To: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall problem - duplicated users
Date: 1 Sep 2005 15:42:10 +0200
Message-ID: <20050901134207.7274CD88A0@svr1.postgresql.org> (raw)
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
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: grubby@epf.pl
Subject: Re: pg_dumpall problem - duplicated users
In-Reply-To: <20050901134207.7274CD88A0@svr1.postgresql.org>
References: <20050901134207.7274CD88A0@svr1.postgresql.org>
* 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