| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера