how do I get the primary key

Поиск
Список
Период
Сортировка
От Rick Gigger
Тема how do I get the primary key
Дата
Msg-id 002d01c3d6f4$18074600$0700a8c0@trogdor
обсуждение исходный текст
Ответы Re: how do I get the primary key  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I am creating a script to dump a postgres database into a sqlite database.
I need to know how to find out programattically what fields are in the
primary key of a given table.  Is this possible in postgres?

Thanks,

Rick


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

Предыдущее
От: Amir Khawaja
Дата:
Сообщение: OIDS and its limitations
Следующее
От: Bob.Henkel@hartfordlife.com
Дата:
Сообщение: what we need to use postgresql in the enterprise