Re: Number of parentheses in check constraints affected by operator_precedence_warning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Number of parentheses in check constraints affected by operator_precedence_warning
Дата
Msg-id 12298.1464995632@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Number of parentheses in check constraints affected by operator_precedence_warning  (Jean-Pierre Pelletier <jppelletier@e-djuster.com>)
Список pgsql-hackers
Jean-Pierre Pelletier <jppelletier@e-djuster.com> writes:
> We noticed on PostgreSQL 9.5.3 that the number of parentheses in check
> constraints expressions
> vary depending on the setting of operator_precedence_warning.

Hmm, yeah, another place that needs to look through AEXPR_PAREN nodes :-(.
Fixed, thanks for the report!
        regards, tom lane



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

Предыдущее
От: Jean-Pierre Pelletier
Дата:
Сообщение: Number of parentheses in check constraints affected by operator_precedence_warning
Следующее
От: Andreas Karlsson
Дата:
Сообщение: Re: Parallel safety tagging of extension functions