pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: CHEWTC@ap.nec.com.sg
Cc: pgsql-performance@postgresql.org
Subject: Re: Duplicate user in pg_shadow
Date: Wed, 29 Oct 2003 23:26:06 -0500
Message-ID: <25474.1067487966@sss.pgh.pa.us> (raw)
In-Reply-To: <OFB09A4596.5A713C8A-ON48256DCF.00170067@nec.com.sg>
References: <OFB09A4596.5A713C8A-ON48256DCF.00170067@nec.com.sg>

CHEWTC@ap.nec.com.sg writes:
>  When I do a SELECT * FROM pg_shadow, I can have more than one user
>  with the same id. This caused the pg_dump to fail.
>  I read that it happened in v7.1.2 and I am currently using v7.3.2

This is *real* hard to believe.  Versions 7.2 and later have a unique
index on pg_shadow.usesysid.  Are you certain the server isn't 7.1 or
older?

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <25474.1067487966@sss.pgh.pa.us>
Permalink:  ../25474.1067487966@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25474.1067487966@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, CHEWTC@ap.nec.com.sg
  Subject: Re: Duplicate user in pg_shadow
  In-Reply-To: <25474.1067487966@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