pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: CHEWTC@ap.nec.com.sg
Cc: pgsql-performance@postgresql.org
Subject: Re: Duplicate user in pg_shadow
Date: Thu, 30 Oct 2003 12:24:50 +0800
Message-ID: <3FA09292.2050906@familyhealth.com.au> (raw)
In-Reply-To: <OFB09A4596.5A713C8A-ON48256DCF.00170067@nec.com.sg>
References: <OFB09A4596.5A713C8A-ON48256DCF.00170067@nec.com.sg>

Maybe you could delete one of the users from the pg_shadow table, do the 
dump and then after the dump is restored, recreate the dropped user (and 
it will get a new sysid)

Chris


CHEWTC@ap.nec.com.sg wrote:

> Hi
>                                                                                                                       
>  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 on Redhat v9.0                                     
>                                                                                                                       
>  What can be the causes and how do we rectify it?                                                                     
>                                                                                                                       
> 
> 
> 
> Thank you,
> REgards.
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org




view thread (5+ messages)  latest in thread

Message-ID: <3FA09292.2050906@familyhealth.com.au>
Permalink:  ../3FA09292.2050906@familyhealth.com.au/
Also on:    postgresql.org/message-id/3FA09292.2050906@familyhealth.com.au

 · 

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-performance@postgresql.org
  Cc: chriskl@familyhealth.com.au, CHEWTC@ap.nec.com.sg
  Subject: Re: Duplicate user in pg_shadow
  In-Reply-To: <3FA09292.2050906@familyhealth.com.au>
  References: <OFB09A4596.5A713C8A-ON48256DCF.00170067@nec.com.sg> <3FA09292.2050906@familyhealth.com.au>

* 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