Re: Consistently use palloc_object() and palloc_array() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Consistently use palloc_object() and palloc_array()
Date
Msg-id 534126.1764722446@sss.pgh.pa.us
Whole thread Raw
In response to Re: Consistently use palloc_object() and palloc_array()  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> It may be a good idea to split the patch into two parts, at least:
> - One for the bulk of the changes, for the straight-forward changes.
> Most of what you are suggesting are that for palloc_object and
> palloc_array which are dropped-in replacements.  Checking that these
> assemble the same before and after offers one extra layer of
> confidence.
> - Second one for the more dubious changes.

Yeah, I was thinking the same.  Some of those might perhaps be bugs
that we want to back-patch, so they need to be looked at in a
different way.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Consistently use palloc_object() and palloc_array()
Next
From: Andres Freund
Date:
Subject: Re: Buffer locking is special (hints, checksums, AIO writes)