Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers@postgresql.org
Date: 2023-11-14T17:59:53Z
Lists: pgsql-hackers
On Tue, Nov 14, 2023 at 10:46:25PM +0530, Bharath Rupireddy wrote: > FWIW, there are other backward compatibility macros out there like > tuplestore_donestoring which was introduced by commit dd04e95 21 years > ago and SPI_push() and its friends which were made no-ops macros by > commit 1833f1a 7 years ago. Debian code search shows very minimal > usages of the above macros. Can we do away with > tuplestore_donestoring? Can we take these other things to a separate thread? -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
Commits
-
Retire MemoryContextResetAndDeleteChildren() macro.
- 6a72c42fd5af 17.0 landed
-
Simplify code by getting rid of SPI_push, SPI_pop, SPI_restore_connection.
- 1833f1a1c3b0 10.0 cited
-
Redefine MemoryContextReset() as deleting, not resetting, child contexts.
- eaa5808e8ec4 9.5.0 cited
-
tuplestore_donestoring() isn't needed anymore, but provide a no-op
- dd04e958c8b0 7.4.1 cited