Re: Remove PointerIsValid() - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Remove PointerIsValid()
Date
Msg-id aMrf9pmCSjp9OpIk@nathan
Whole thread Raw
In response to Re: Remove PointerIsValid()  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: Remove PointerIsValid()
List 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@eisentraut.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



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: GetNamedLWLockTranche crashes on Windows in normal backend
Next
From: Tomas Vondra
Date:
Subject: Re: Parallel heap vacuum