Re: A failure in prepared_xacts test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: A failure in prepared_xacts test
Date
Msg-id 1076837.1714368760@sss.pgh.pa.us
Whole thread Raw
In response to Re: A failure in prepared_xacts test  (Michael Paquier <michael@paquier.xyz>)
Responses Re: A failure in prepared_xacts test
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> I don't disagree with your point, still I'm not sure that this can be
> made entirely bullet-proof.  Anyway, I think that we should still
> improve this test and make it more robust for parallel operations:
> installcheck fails equally on HEAD if there is a prepared transaction
> on the backend where the tests run, and that seems like a bad idea to
> me to rely on cluster-wide scans for what should be a "local" test.

True, it's antithetical to the point of an "installcheck" test if
unrelated actions in another database can break it.  So I'm fine
with tightening up prepared_xacts's query.  I just wonder how far
we want to try to carry this.

(BTW, on the same logic, should ecpg's twophase.pgc be using a
prepared-transaction name that's less generic than "gxid"?)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: A failure in prepared_xacts test
Next
From: Bharath Rupireddy
Date:
Subject: Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM