Fix buildfarm failure introduced by 6168c65ddc. Commit 6168c65ddc added a test verifying that the conflict detection slot's xmin regresses to the horizon pinned by an in-progress transaction in the database of a newly added subscription that has retain_dead_tuples enabled. However, it used query_until(), which can return before starting a transaction, allowing the test to proceed without a pinned xid.
Use query_safe() so the transaction setup completes synchronously and the xid is assigned before the xmin checks run. Per buildfarm. Author: Hayato Kuroda <[email protected]> Discussion: https://postgr.es/m/os9pr01mb12149257a97ee1bd3296f6aebf5...@os9pr01mb12149.jpnprd01.prod.outlook.com Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d2384bc30f6882d30cb49e2912580ab95d642f3c Modified Files -------------- src/test/subscription/t/035_conflicts.pl | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
