From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris White <cjwhite@cisco.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Duplicate indexes found in the postgres Database
Date: Sat, 01 Feb 2003 12:31:14 -0500
Message-ID: <7823.1044120674@sss.pgh.pa.us> (raw)
In-Reply-To: <NCBBIJCJEKFBDCFKEEEIIEFOHJAA.cjwhite@cisco.com>
References: <NCBBIJCJEKFBDCFKEEEIIEFOHJAA.cjwhite@cisco.com>
"Chris White" <cjwhite@cisco.com> writes:
> While interrogating the table information for our database, I notice that
> some tables (i.e. gui_config, vm_mailbox, vm_message) have duplicate
> entries. Does anybody know why this would occur and is it a problem?
Probably it is :-(. You'll need to dig into the underlying catalogs
(everything you showed us are views, and joined ones at that) to see
what the apparent duplicates are coming from.
Way back when, it used to be possible for this symptom to arise from
multiple pg_shadow entries with the same usesysid; but that should not
happen now that there's a unique index on usesysid.
Have you had any system crashes recently?
regards, tom lane
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, cjwhite@cisco.com
Subject: Re: Duplicate indexes found in the postgres Database
In-Reply-To: <7823.1044120674@sss.pgh.pa.us>
References: <NCBBIJCJEKFBDCFKEEEIIEFOHJAA.cjwhite@cisco.com> <7823.1044120674@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