Re: How does one determine which columns are

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: How does one determine which columns are
Дата
Msg-id web-812840@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на How does one determine which columns are constrained PRIMARY KEY?  (Damon Fasching <fasching@design.lbl.gov>)
Ответы Re: How does one determine which columns are constrained PRIMARY KEY?
Список pgsql-novice
Damon,

> Is it possible to determine which column(s), if any, are constrained
> with PRIMARY KEY?

From psql, use:

\d table_name

You will get a list of table characteristics, including any
 constraints.

-Josh

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