| От | Tom Lane |
|---|---|
| Тема | Re: Two questions about "pg_constraint" |
| Дата | |
| Msg-id | 2159876.1661566747@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Two questions about "pg_constraint" (Bryn Llewellyn <bryn@yugabyte.com>) |
| Ответы |
Re: Two questions about "pg_constraint"
|
| Список | pgsql-general |
Bryn Llewellyn <bryn@yugabyte.com> writes:
> My other question was about the "connamespace" column. It seemed to me,
> both at first and still now, that this is a clear instance of a
> transitive dependency.
I think a more productive way to think about it is that it's
denormalization for efficiency; specifically to let constraints
be looked up by name+namespace without having to get other
catalogs involved. (SET CONSTRAINTS is one thing that requires
that, and I think there are others.)
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера