Re: Boolean partitions syntax

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Boolean partitions syntax
Дата
Msg-id CA+TgmoZCinMWJ=UJ0W48rF02pWZ0ihrjkba=iiZAM+LjBC1sUg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Boolean partitions syntax  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Boolean partitions syntax
Список pgsql-hackers
On Fri, Feb 2, 2018 at 4:40 PM, Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
> There might be other options, but one way to solve this would be to
> treat partition bounds as a general expression in the grammar and then
> check in post-parse analysis that it's a constant.

Yeah -- isn't the usual way of handling this to run the user's input
through eval_const_expressions and see if the result is constant?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Draft release notes for 10.2 et al
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Restrict concurrent update/delete with UPDATE ofpartition key