public inbox for [email protected]  
help / color / mirror / Atom feed
From: Zhang Mingli <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: useless list_tail()?
Date: Wed, 15 Jan 2025 21:35:48 +0800
Message-ID: <7000b3f6-9164-4778-8a35-430b5e0d7dcd@Spark> (raw)
In-Reply-To: <d1ddf040-480c-4a38-9c21-2d240ef0e5b4@Spark>
References: <d1ddf040-480c-4a38-9c21-2d240ef0e5b4@Spark>

Hi,

While working with lists, I've been utilizing the llast() macro to retrieve the last element.
During this process, I noticed that the list_tail() function is not being used anywhere in the codebase.
Its last usage was removed in commit a8d8445a7b in favor of llast().


Shall we remove it?


Zhang Mingli
www.hashdata.xyz


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: useless list_tail()?
  In-Reply-To: <7000b3f6-9164-4778-8a35-430b5e0d7dcd@Spark>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox