Re: unknown index

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: "Jodi Kanter" <jkanter(at)virginia(dot)edu>, "Postgres Admin List" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: unknown index
Date: 2002-01-07 21:37:10
Message-ID: NEBBLAAHGLEEPCGOBHDGMEHKECAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)postgresql(dot)org
> [mailto:pgsql-admin-owner(at)postgresql(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2002-01-07 22:00:38 Re: granting all to user
Previous Message Nick Fankhauser 2002-01-07 21:28:27 Re: granting all to user