Re: A failure in prepared_xacts test

Поиск
Список
Период
Сортировка
Искать
От
Richard Guo
Тема
Re: A failure in prepared_xacts test
Дата
Msg-id
CAMbWs48uTLZT14aaBaEg7cpB6ercU5wm9+WfGLGC3VoP28gfCA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
A failure in prepared_xacts test Richard Guo <guofenglinux@gmail.com>
Re: A failure in prepared_xacts test Alexander Lakhin <exclusion@gmail.com>
Re: A failure in prepared_xacts test Michael Paquier <michael@paquier.xyz>
Re: A failure in prepared_xacts test Tom Lane <tgl@sss.pgh.pa.us>
Re: A failure in prepared_xacts test Peter Eisentraut <peter@eisentraut.org>
Re: A failure in prepared_xacts test Richard Guo <guofenglinux@gmail.com>
Re: A failure in prepared_xacts test Alexander Lakhin <exclusion@gmail.com>
Re: A failure in prepared_xacts test Michael Paquier <michael@paquier.xyz>
Re: A failure in prepared_xacts test Tom Lane <tgl@sss.pgh.pa.us>
Re: A failure in prepared_xacts test Michael Paquier <michael@paquier.xyz>
Re: A failure in prepared_xacts test Richard Guo <guofenglinux@gmail.com>
Re: A failure in prepared_xacts test Tom Lane <tgl@sss.pgh.pa.us>
Re: A failure in prepared_xacts test Richard Guo <guofenglinux@gmail.com>
Re: A failure in prepared_xacts test Michael Paquier <michael@paquier.xyz>
Re: A failure in prepared_xacts test Richard Guo <guofenglinux@gmail.com>
Re: A failure in prepared_xacts test Tom Lane <tgl@sss.pgh.pa.us>
Re: A failure in prepared_xacts test Michael Paquier <michael@paquier.xyz>

On Mon, Apr 29, 2024 at 2:58 PM Michael Paquier <michael@paquier.xyz> wrote:
On Mon, Apr 29, 2024 at 01:32:40AM -0400, Tom Lane wrote:
> (BTW, on the same logic, should ecpg's twophase.pgc be using a
> prepared-transaction name that's less generic than "gxid"?)

I've hesitated a few seconds about that before sending my patch, but
refrained because this stuff does not care about the contents of
pg_prepared_xacts.  I'd be OK to use something like an "ecpg_regress"
or something similar there.

I noticed that some TAP tests from recovery and subscription would
select the count from pg_prepared_xacts.  I wonder if these tests would
be affected if there are any prepared transactions on the backend.

Thanks
Richard
В списке pgsql-hackers по дате отправления
От: shveta malik
Дата:
От: Peter Eisentraut
Дата:
FAQ