Re: pg_dumpall problem - duplicated users

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Bartek GRUbY" <grubby(at)epf(dot)pl>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dumpall problem - duplicated users
Date: 2005-09-01 15:04:44
Message-ID: 12902.1125587084@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Bartek GRUbY" <grubby(at)epf(dot)pl> writes:
> 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)

What PG version are you using exactly? Could we see the system columns
for those rows, ie,

select ctid,xmin,xmax,cmin,xmax,* from pg_shadow where usename = 'postgres';

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message GRUbY 2005-09-01 17:17:27 Re: pg_dumpall problem - duplicated users
Previous Message Michael Fuhr 2005-09-01 13:46:33 Re: Reg:Connection Object