Re: [SQL] SQL-Query 2 get primary key - Mailing list pgsql-sql

From Michael Olivier
Subject Re: [SQL] SQL-Query 2 get primary key
Date
Msg-id 19990220051943.20371.rocketmail@send1e.yahoomail.com
Whole thread Raw
List pgsql-sql
This doesn't work for me in 6.3.2-10 on RH Linux. Is this a newer
feature?


---jose' soares <sferac@bo.nettuno.it> wrote:
>
> You may query pg_indexes as in:
>
> select * from pg_indexes where tablename = 'test';
>
> tablename|indexname|indexdef
>
---------+---------+-----------------------------------------------------------------------
>
> test     |test_pkey|CREATE UNIQUE INDEX "test_pkey" ON "test" USING
btree
> ("id" "int4_ops")
> (1 row)

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


pgsql-sql by date:

Previous
From: Michael Olivier
Date:
Subject: questions on interpreting the output of explain
Next
From: Bruce Momjian
Date:
Subject: Re: [SQL] questions on interpreting the output of explain