Re: Propose a new function - list_is_empty - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Propose a new function - list_is_empty
Date
Msg-id CAHut+PtXDv-BuWa6y+2g9MbKfmaXpD6VCQyDVdFsw_Cqi1rz0g@mail.gmail.com
Whole thread Raw
In response to Re: Propose a new function - list_is_empty  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Propose a new function - list_is_empty
List pgsql-hackers
On Wed, Aug 17, 2022 at 6:34 AM Daniel Gustafsson <daniel@yesql.se> wrote:
>
> > On 16 Aug 2022, at 16:03, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> > I agree though that while simplifying list_length() calls, I'd lean to using
> > explicit comparisons to NIL.
>
>
> Agreed, I prefer that too.
>

Thanks for the feedback.

PSA patch v3 which now uses explicit comparisons to NIL everywhere,
and also addresses the other review comments.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: hash_xlog_split_allocate_page: failed to acquire cleanup lock
Next
From: Andres Freund
Date:
Subject: Re: build remaining Flex files standalone