Re: lsyscache: free IndexAmRoutine objects returned by GetIndexAmRoutineByAmId()

Chao Li <li.evan.chao@gmail.com>

From: Chao Li <li.evan.chao@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Matthias van de Meent <boekewurm+postgres@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-29T23:26:43Z
Lists: pgsql-hackers
On Tue, Dec 30, 2025 at 6:55 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Matthias van de Meent <boekewurm+postgres@gmail.com> writes:
> > Attached v2, in which I've updated the one place where I could find
> > IndexAmRoutine's allocation policy being described, and in which I've
> > also updated InitIndexAmRoutine with the suggested changes of your
> > other mail. Thanks!
>
> I went through this and made some mostly-cosmetic changes.
> I think the attached v3 is ready to go, but I'll wait a day
> or so to see if anyone has any comments.
>
>                         regards, tom lane
>
>
I just saw v3 after sending the review comments for v2. Looks like my
comment 1 has been addressed in v3, and the comment 2 still stands.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/