| От | Tom Lane |
|---|---|
| Тема | Re: Hints proposal |
| Дата | |
| Msg-id | 11204.1160670256@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Hints proposal (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Список | pgsql-performance |
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> BTW: Do we make use of CHECK constraints in the planner?
Only for "constraint exclusion", and at the moment that's off by default.
The gating problem here is that if the planner relies on a CHECK
constraint, and then you drop the constraint, the previously generated
plan might start to silently deliver wrong answers. So I'd like to see
a plan invalidation mechanism in place before we go very far down the
path of relying on constraints for planning. That's something I'm going
to try to make happen for 8.3, though.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера