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:37:41 +0800
Message-ID: <3FA09595.5020905@familyhealth.com.au> (raw)
In-Reply-To: <OF9BAD713F.618BD53B-ON48256DCF.00183CAD@nec.com.sg>
References: <OF9BAD713F.618BD53B-ON48256DCF.00183CAD@nec.com.sg>
> I tried to delete the user from the pg_user but couldnt. This username is
> being duplicated so we have the same 2 records.
>
> What is the cause ? Is it due to memory or wrong configuration?
Maybe it's an index corruption issue.
Try reindexing the pg_shadow table, based on the instructions here:
http://www.postgresql.org/docs/7.3/static/sql-reindex.html
Chris
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: <3FA09595.5020905@familyhealth.com.au>
References: <OF9BAD713F.618BD53B-ON48256DCF.00183CAD@nec.com.sg> <3FA09595.5020905@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