Re: Fix and improve allocation formulas - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Fix and improve allocation formulas
Date
Msg-id aUxK1KCQ5l1dYgq_@momjian.us
Whole thread Raw
In response to Re: Fix and improve allocation formulas  (Álvaro Herrera <alvherre@kurilemu.de>)
List pgsql-hackers
On Thu, Dec 11, 2025 at 05:56:13PM +0100, Álvaro Herrera wrote:
> On 2025-Dec-11, Andres Freund wrote:
> 
> > a) changing over everything at once is worth the backpatch hazard and review
> >    pain
> 
> The other issue with these giant patches is that they cause many largish
> patches waiting in the commitfest process to require rebases, which are
> sometimes not trivial to do.  Also, all the Postgres forks will
> require tedious merges later on.
> 
> I have my part of blame for having committed the mass change to
> XLogRecPtrIsValid in a2b02293bc65.  I'm starting to regret that now.

I think the bigger issue is that these patches bypass the normal
workflow of implementing changes in Postgres --- specifically, asking
about Desirability first:

    https://wiki.postgresql.org/wiki/Todo
    Desirability -> Design -> Implement -> Test -> Review -> Commit

It would have been much cleaner to discuss the desirability of this
change on its own.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: Cleaning up PREPARE query strings?
Next
From: Matthias van de Meent
Date:
Subject: Re: Add --extra-dependencies and immediate data dumping for pg_dump/pg_upgrade