X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D1270475D00 for ; Mon, 3 Feb 2003 13:18:47 -0500 (EST) Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by postgresql.org (Postfix) with ESMTP id AB9D4475956 for ; Mon, 3 Feb 2003 13:18:04 -0500 (EST) Received: from mira-sjc5-e.cisco.com (IDENT:mirapoint@mira-sjc5-e.cisco.com [171.71.163.15]) by sj-msg-core-1.cisco.com (8.12.2/8.12.6) with ESMTP id h13II3SQ029645; Mon, 3 Feb 2003 10:18:03 -0800 (PST) Received: from CJWHITEW2K2 (dhcp-128-107-146-255.cisco.com [128.107.146.255]) by mira-sjc5-e.cisco.com (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id ABB27299; Mon, 3 Feb 2003 10:18:01 -0800 (PST) Reply-To: From: "Chris White" To: "'Tom Lane'" Cc: Subject: Re: Duplicate indexes found in the postgres Database Date: Mon, 3 Feb 2003 10:18:00 -0800 Message-ID: <06ec01c2cbb0$965fab50$ff926b80@amer.cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <17185.1044132145@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/93 X-Sequence-Number: 7291 Sorry, the owner of the database decided to reload the database and we have lost the duplicate entries. If it happens again I will send you the info. -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Saturday, February 01, 2003 12:42 PM To: Chris White Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Duplicate indexes found in the postgres Database "Chris White" writes: > How do I look at the catalogs and which ones do I need to look at? Now that I look at it, pg_tables is not a join in 7.2, but just a straight select from pg_class. So the problem is definitely in pg_class. Let's see the results of select ctid,xmin,xmax,oid,* from pg_class where relname = 'vm_message'; and similarly for the other duplicates. > No we haven't seen any system crashes, but people have reported that the > tables that are duplicated are possibly missing some data. Hm. Trying to avoid theorizing in advance of the data... regards, tom lane