| От | john.christofolakos@gmail.com |
|---|---|
| Тема | [DOCS] clarify constraint exclusion vs prepared statements |
| Дата | |
| Msg-id | 20170427202303.24360.26831@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: [DOCS] clarify constraint exclusion vs prepared statements
|
| Список | pgsql-docs |
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.2/static/ddl-partitioning.html Description: Section 5.9.6 of the documentation discusses caveats re use of constraint exclusion on partitioned tables. It seems the restriction that the query constraints must be expressed in terms of constants has been lifted, and now constraints may be expressed in terms of parameterised values. I'm wondering if the restriction would still apply, though, in the case that the query is being prepared in advance, then the constraint value passed in as a parameter at execution time. It seems to me that constraint exclusion would not be applied in this case, but would like clarification on this point.
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера