Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g07LehB92393 for ; Mon, 7 Jan 2002 16:40:43 -0500 (EST) (envelope-from nickf@ontko.com) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id QAA08461; Mon, 7 Jan 2002 16:40:42 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "Jodi Kanter" , "Postgres Admin List" Subject: Re: unknown index Date: Mon, 7 Jan 2002 16:37:10 -0500 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal In-Reply-To: <005b01c197c1$ccb74650$de138f80@virginia.edu> X-Archive-Number: 200201/23 X-Sequence-Number: 2912 This my be simpler than the answer you were after, but... If you're getting something like "cannot insert duplicate key into unique index fred", you could type: "\d fred" at a psql prompt to learn what column(s) fred refers to. You can learn even more by digging into the system tables, but I'll leave that version of the answer to the smarter folk. -Nick > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter > Sent: Monday, January 07, 2002 4:25 PM > To: Postgres Admin List > Subject: [ADMIN] unknown index > > > I am working with a database that was not created by our team. There are > some indexes set up on a table and I need to understand what type they are > and how they are functioning. > How can I look at this in Postgres? > I have a situation where we trying to update data and are > receiving an error > based on this index but I have no idea how it was set up. > Thanks > Jodi > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >