Re: finding UNIQUES in information_schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: finding UNIQUES in information_schema
Дата
Msg-id 28152.1239909139@sss.pgh.pa.us
обсуждение исходный текст
Ответ на finding UNIQUES in information_schema  (Gerardo Herzig <gherzig@fmed.uba.ar>)
Ответы Re: finding UNIQUES in information_schema  (Gerardo Herzig <gherzig@fmed.uba.ar>)
Список pgsql-sql
Gerardo Herzig <gherzig@fmed.uba.ar> writes:
> Hi all. Im failing while trying to obtain some metainfo from
> information_schema. Acording to the docs, constraint_column_usage and
> key_column_usage views contains some information about constraints and
> indexes.

No, they contain information about constraints, period.  How did you
create those indexes?  If you made them via SQL-standard PRIMARY KEY or
UNIQUE constraint syntax, they should show in the information_schema.
Otherwise not.
        regards, tom lane


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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: how to set the value to the column
Следующее
От: Gerardo Herzig
Дата:
Сообщение: Re: finding UNIQUES in information_schema