pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bartek GRUbY <grubby@epf.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall problem - duplicated users
Date: Thu, 01 Sep 2005 11:04:44 -0400
Message-ID: <12902.1125587084@sss.pgh.pa.us> (raw)
In-Reply-To: <20050901134207.7274CD88A0@svr1.postgresql.org>
References: <20050901134207.7274CD88A0@svr1.postgresql.org>

"Bartek GRUbY" <grubby@epf.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



view thread (10+ messages)  latest in thread

Message-ID: <12902.1125587084@sss.pgh.pa.us>
Permalink:  ../12902.1125587084@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12902.1125587084@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, grubby@epf.pl
  Subject: Re: pg_dumpall problem - duplicated users
  In-Reply-To: <12902.1125587084@sss.pgh.pa.us>
  References: <20050901134207.7274CD88A0@svr1.postgresql.org> <12902.1125587084@sss.pgh.pa.us>

* 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