Re: [HACKERS] parser dilemma

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] parser dilemma
Дата
Msg-id 6819.1177261817@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] parser dilemma  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [HACKERS] parser dilemma
Список pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> So I think attaching a precedence to the GENERATED keyword is dangerous.

> Especially when we have a good workaround which would just require use
> of ()  around certain postfix-operator expressions.

Yeah, I'm leaning to the idea that removing postfix operators from
b_expr is the least bad solution.

One thing that would have to be looked at is the rules in ruleutils.c
for suppressing "unnecessary" parentheses when reverse-listing
parsetrees.  It might be safest to just never suppress them around a
postfix operator.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Some further performance tweaks for planning large inheritance
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Some further performance tweaks for planning large inheritance