Re: get rid of Pointer type, mostly - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: get rid of Pointer type, mostly
Date
Msg-id CAGECzQTZYKBZmT=0DLPhVntoC4OAqtUBdHu8V+_-7cnckfFe5w@mail.gmail.com
Whole thread Raw
In response to Re: get rid of Pointer type, mostly  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: get rid of Pointer type, mostly
List pgsql-hackers
On Mon, Nov 24, 2025, 09:34 Tom Lane <tgl@sss.pgh.pa.us> wrote:
Especially so if the removal is incomplete.  What have
you really accomplished then?

In this case, what we would accomplish is that no new developer to the project has to understand what some unclear typedef means, *unless* they touch GIN related code. Just from its name it's definitely not clear to me that Pointer means char * instead of void *. And this typedef is ven shorter than the thing it represents.

Side annoyance: I think this is a falacy that hackers discussions end up in a lot. Someone suggesting that the partial improvements have (almost) no benefit and all cases need to be fixed in one go to before it should be committed. Then the patch author thinks that's too much work and then nothing ends up being improved at all. 

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Cygwin support
Next
From: Robert Haas
Date:
Subject: Re: get rid of Pointer type, mostly