useless list_tail()?

From: Zhang Mingli <zmlpostgres(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: useless list_tail()?
Date: 2025-01-15 13:35:48
Message-ID: 7000b3f6-9164-4778-8a35-430b5e0d7dcd@Spark
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2025-01-15 13:47:22 Re: useless list_tail()?
Previous Message Bernd Helmle 2025-01-15 13:20:24 Re: [PATCH] Add sortsupport for range types and btree_gist