| От | Tom Lane |
|---|---|
| Тема | Re: Partitioning documentation example |
| Дата | |
| Msg-id | 7192.1199556534@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Partitioning documentation example (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: Partitioning documentation example
|
| Список | pgsql-docs |
Bruce Momjian <bruce@momjian.us> writes:
> Because my EXECUTE example didn't work I have created a new example
> using date_trunc(), which I think is less error-prone than the
> comparisons done in the original example:
This is not an improvement either. You can't represent the check
constraints that way (at least not if you want the planner to do
constraint exclusion with them) and I don't think it's "less
error-prone" to have a different representation in the trigger than
you have in the constraints.
regards, tom lane
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера