Re: Remove PointerIsValid()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove PointerIsValid()
Date: 2025-09-24 15:05:02
Message-ID: f8cab6ad-25b2-4dd7-8029-c5a5c25defd0@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 17.09.25 18:26, Jacob Champion wrote:
> On Tue, Sep 16, 2025 at 10:21 PM 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]
>
> Patch LGTM, and I like your chosen balance of the two replacements.

Thanks, pushed as is. (Some people appeared to have stylistic
preferences one way or another, but there was nothing specific proposed.
Follow-up patches could be entertained, of course.)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurenz Albe 2025-09-24 15:10:45 Re: Built-in case-insensitive collation pg_unicode_ci
Previous Message Alexander Lakhin 2025-09-24 15:00:00 Re: GNU/Hurd portability patches