X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0EB51475FD9 for ; Sat, 1 Feb 2003 12:32:06 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id F0E8647618E for ; Sat, 1 Feb 2003 12:31:12 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h11HVF5u007824; Sat, 1 Feb 2003 12:31:15 -0500 (EST) To: "Chris White" Cc: pgsql-admin@postgresql.org Subject: Re: Duplicate indexes found in the postgres Database In-reply-to: References: Comments: In-reply-to "Chris White" message dated "Sat, 01 Feb 2003 09:23:01 -0800" Date: Sat, 01 Feb 2003 12:31:14 -0500 Message-ID: <7823.1044120674@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/9 X-Sequence-Number: 7207 "Chris White" 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