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.
regards, tom lane