Re: Expand palloc/pg_malloc API
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-09-14T04:24:49Z
Lists: pgsql-hackers
On 12.09.22 15:49, Tom Lane wrote: > Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: >> On 09.09.22 22:13, Tom Lane wrote: >>> I think serious consideration should be given to back-patching the >>> 0001 part (that is, addition of the macros). Otherwise we'll have >>> to remember not to use these macros in code intended for back-patch, >>> and that'll be mighty annoying once we are used to them. > >> Yes, the 0001 patch is kept separate so that we can do that when we feel >> the time is right. > > I think the right time is now, or at least as soon as you're > satisfied that the buildfarm is happy. This has been done.
Commits
-
Add repalloc0 and repalloc0_array
- b4b7ce8061d3 16.0 landed
-
Expand palloc/pg_malloc API for more type safety
- 2864f7755611 10.23 landed
- e962235fe1f6 11.18 landed
- 7dd9b469bc56 12.13 landed
- 172882292451 13.9 landed
- b7f37af7c195 14.6 landed
- 7fe55d5e12b6 15.0 landed
- 2016055a92f2 16.0 landed
-
Assorted examples of expanded type-safer palloc/pg_malloc API
- 5015e1e1b58f 16.0 landed