Re: Enables to call Unregister*XactCallback() in Call*XactCallback()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Enables to call Unregister*XactCallback() in Call*XactCallback()
Дата
Msg-id 3996135.1664378913@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Enables to call Unregister*XactCallback() in Call*XactCallback()  (Hao Wu <gfphoenix78@gmail.com>)
Список pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> On Mon, Sep 26, 2022 at 06:05:34PM -0400, Tom Lane wrote:
>> Yeah.  Whether it's efficient or not, seems like it should *work*.
>> I'm a bit inclined to call this a bug-fix and backpatch it.

> LGTM.  I have no opinion on back-patching.

I had second thoughts about back-patching: doing so would encourage
extensions to rely on this working in pre-v16 branches, which they'd
better not since they might be in a not-up-to-date installation.

We could still squeeze this into v15 without creating such a hazard,
but post-rc1 doesn't seem like a good time for inessential tweaks.

Hence, pushed to HEAD only.

            regards, tom lane



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

Предыдущее
От: Melih Mutlu
Дата:
Сообщение: Re: Summary function for pg_buffercache
Следующее
От: Bruce Momjian
Дата:
Сообщение: Warning about using pg_stat_reset() and pg_stat_reset_shared()