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

From Daniel Gustafsson
Subject Re: Propose a new function - list_is_empty
Date
Msg-id A6DAA967-E453-4DBF-A9A1-E4A9A9A5FBB1@yesql.se
Whole thread Raw
In response to Re: Propose a new function - list_is_empty  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Propose a new function - list_is_empty
List pgsql-hackers
> 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.

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




pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Avoid erroring out when unable to remove or parse logical rewrite files to save checkpoint work
Next
From: Robert Haas
Date:
Subject: Re: hash_xlog_split_allocate_page: failed to acquire cleanup lock