Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro

Поиск
Список
Период
Сортировка
Искать
От
Nathan Bossart
Тема
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro
Дата
Msg-id
20231114175917.GC2062604@nathanxps13
Ответ на
Список
Дерево обсуждения
retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Tom Lane <tgl@sss.pgh.pa.us>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Amul Sul <sulamul@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Tom Lane <tgl@sss.pgh.pa.us>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Amul Sul <sulamul@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Nathan Bossart <nathandbossart@gmail.com>
Re: retire MemoryContextResetAndDeleteChildren backwards compatibility macro Amul Sul <sulamul@gmail.com>
On Tue, Nov 14, 2023 at 12:10:41PM -0500, Tom Lane wrote:
> FWIW, I think it's fine to just nuke MemoryContextResetAndDeleteChildren.
> We ask extension authors to deal with much more significant API changes
> than that in every release, and versions where the updated code wouldn't
> work are long gone.  And, as you say, the existence of that separate from
> MemoryContextReset creates confusion, which has nonzero cost in itself.

That is my preference as well.  Alvaro, AFAICT you are the only vote
against removing it completely.  If you feel ѕtrongly about it, I don't
mind going the __attribute__((deprecated)) route, but otherwise, I'd
probably just remove it completely.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Nathan Bossart
Дата:
FAQ