Re: Remove PointerIsValid()

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove PointerIsValid()
Date: 2025-09-17 16:21:10
Message-ID: aMrf9pmCSjp9OpIk@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 17, 2025 at 10:15:10AM -0400, Peter Geoghegan wrote:
> 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.

+1

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2025-09-17 16:23:06 Re: Parallel heap vacuum
Previous Message Nathan Bossart 2025-09-17 16:19:41 Re: GetNamedLWLockTranche crashes on Windows in normal backend