From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add regression test for two-phase transaction in postgres_fdw
Date: Wed, 13 Nov 2019 04:44:06 +0000
Message-ID: <E1iUkVi-0007uQ-Vz@gemulon.postgresql.org> (raw)
Add regression test for two-phase transaction in postgres_fdw
postgres_fdw does not support two-phase transactions, so let's add a
small negative test case to check after it. Note that this is checked
using an end-of-xact callback to ensure a proper connection cleanup with
the foreign server, which is called before checking if a server is able
to handle 2PC with max_prepared_xacts, so this test does not need an
alternate output file.
Author: Gilles Darold
Discussion: https://postgr.es/m/20191108090507.GC1768@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/94fec48516a77f219ab94890219d724b973e4674
Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 13 +++++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql | 7 +++++++
2 files changed, 20 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add regression test for two-phase transaction in postgres_fdw
In-Reply-To: <E1iUkVi-0007uQ-Vz@gemulon.postgresql.org>
References: <E1iUkVi-0007uQ-Vz@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox