| От | Josh Berkus |
|---|---|
| Тема | Re: Clarification to catalog-pg-class |
| Дата | |
| Msg-id | 4995BA71.3030800@agliodbs.com обсуждение исходный текст |
| Ответ на | Re: Clarification to catalog-pg-class (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-docs |
Peter, > I suppose a more constructive point would be, where are the other > constraint types kept track of? AFAICT, we're not tracking them in pg_class at all anymore, except that FKs will set relhastrigger=true in the absensce of any other triggers. The confusion on this particular line is caused by the "see pg_constraint catalog", which covers *all* constraints, whereas relconstrains only counts the CHECK constraints and not other types. That's why I think a small emphasis on CHECK would prevent people from being confused again. Of course, at this point, we've spent more time discussing the issue than people have been confused by it, probably. --Josh
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера