Re: Propose a new function - list_is_empty

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Propose a new function - list_is_empty
Дата
Msg-id B4E53BCB-74F7-4C87-8065-29924DC5AA62@yesql.se
обсуждение исходный текст
Ответ на Re: Propose a new function - list_is_empty  (Junwang Zhao <zhjwpku@gmail.com>)
Список pgsql-hackers
> On 17 Aug 2022, at 10:13, Junwang Zhao <zhjwpku@gmail.com> wrote:
>
> There are some places that add extra parenthesis like here
>
> ...
>
> Is it necessary to add that extra parenthesis?

It's not necessary unless needed for operator associativity, but also I don't
object to grouping with parenthesis as a visual aid for the person reading the
code.  Going over the patch in more detail I might change my mind on some but I
don't object to the practice in general.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Junwang Zhao
Дата:
Сообщение: Re: Propose a new function - list_is_empty
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Generalize ereport_startup_progress infrastructure