Re: Increase repalloc_array() usage in buffile.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tristan Partin <tristan(at)partin(dot)io>
Cc: Sami Imseih <samimseih(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Increase repalloc_array() usage in buffile.c
Date: 2026-07-31 07:35:19
Message-ID: amxQNinuLD4lz2jT@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 31, 2026 at 03:54:33AM +0000, Tristan Partin wrote:
> Let me see what I can come up with. As a committer, how would you like
> the patches? I could do file by file, subsystem by subsystem, or just
> one large single patch? I don't mind putting in the work to translate
> all realloc calls where it makes sense, but I would like to make sure
> I organize it in such a way to minimize work for you.

All of these are mechanical changes, and it is possible to do a set of
`git add` to split these across sub-directories. So a single huge
patch does not change much compared to many small ones from my
perspective. So your call.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shlok Kyal 2026-07-31 07:47:48 Re: Support EXCEPT for TABLES IN SCHEMA publications
Previous Message Tender Wang 2026-07-31 07:21:16 Re: Wrong results: NOT IN to anti-join with an upper-level Var in the sub-select's output