Finding PrimaryKey columns of a table

Поиск
Список
Период
Сортировка
От swalker
Тема Finding PrimaryKey columns of a table
Дата
Msg-id Pine.LNX.4.21.0005021223280.12169-100000@ct36753-a.jfrvil1.in.home.com
обсуждение исходный текст
Ответы Re: Finding PrimaryKey columns of a table  (rmcm@compsoft.com.au)
Список pgsql-general
Is there a query I can run against the pg system tables to figure out what
columns of the table make up the primary key?

I've messed around w/ psql -E (which is very cool btw) and can't seem to
find the exact query I'm looking for.  I can get all indexes for a table,
but I can't seem to limit the result set to only the primary key.

Am I missing something obvious ?

Thanks
Steve




В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: postgresql7.0 jdbc driver
Следующее
От: "Michael Simcich"
Дата:
Сообщение: Setting up PGSQL 7 on Win2K