Re: Remove PointerIsValid()

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove PointerIsValid()
Date: 2025-09-17 14:15:10
Message-ID: CAH2-Wz=AewWCszPow7KxPDzSX8rzH8L9_+CHop3UHq8U10OWGg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 17, 2025 at 1:21 AM Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
> I think there is agreement that the PointerIsValid() macro is pretty
> useless. This patch proposes to remove it. There have been a few
> recent mini-discussions in other threads that appear to support this. [0][1]

I'm also in favor of removing it.

> There were the usual concerns about code churn and backpatching and so
> on, but I think in the end the change is not that big and it's in pretty
> boring positions.

I agree.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-09-17 14:22:22 Re: REPACK and naming
Previous Message Mihail Nikalayeu 2025-09-17 14:05:33 Re: REPACK and naming