Re: get rid of Pointer type, mostly

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: get rid of Pointer type, mostly
Date: 2025-11-24 19:32:24
Message-ID: CA+Tgmob==vi7MXZC9EhTGZ2YiuWkQuAGZm=H6M=9zPN2tp4s3A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 24, 2025 at 1:26 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I don't understand leaving it in place for GIN.

I haven't tried removing it for GIN so I don't know how awkward that
would be or for what reasons, but...

> It's
> not like GIN indexes are some hoary backwater that nobody pays
> attention to.

...I almost feel like you're trolling with this comment. It is true
that we maintain that code, and I see in the commit log that there are
even some GIN-specific improvements in the recent past. But the
average PostgreSQL hacker can probably go years and years without ever
having to touch the GIN code. Hoary backwater might be overselling it,
but it's far enough in that direction that confining the need to be
aware of one specific PostgreSQL-ism just to GIN is not without value.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-11-24 19:38:25 Re: get rid of Pointer type, mostly
Previous Message Masahiko Sawada 2025-11-24 19:30:25 Re: Assertion failure in SnapBuildInitialSnapshot()