Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset
Дата
Msg-id 30854.1424991479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> I'd really not even be surprised if a committer backpatches a
> MemoryContextReset() addition, not realizing it behaves differently in
> the back branches.

As far as that goes, the only consequence would be a possible memory leak
in the back branches; it would not be a really fatal problem.  I'd rather
live with that risk than with the sort of intentional API break (and
ensuing back-patch pain) that you're proposing.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Renaming MemoryContextResetAndDeleteChildren to MemoryContextReset
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [REVIEW] Re: Compression of full-page-writes