Re: A failure in prepared_xacts test

Richard Guo <guofenglinux@gmail.com>

From: Richard Guo <guofenglinux@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2024-04-30T00:43:32Z
Lists: pgsql-hackers
On Mon, Apr 29, 2024 at 9:45 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Richard Guo <guofenglinux@gmail.com> writes:
> > 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.
>
> TAP tests shouldn't be at risk, because there is no "make
> installcheck" equivalent for them.  Each TAP test creates its own
> database instance (or maybe several), so that instance won't have
> anything else going on.


Thank you for the explanation.  I wasn't aware of this before.

Thanks
Richard

Commits

  1. Remove auth-options support from initdb

  2. Make two-phase tests of ECPG and main suite more concurrent-proof

  3. initdb: Add options --auth-local and --auth-host