Re: [PATCH][DOC] Fix for PREPARE TRANSACTION doc and postgres_fdw message.

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Gilles Darold <gilles@darold.net>
Cc: Etsuro Fujita <etsuro.fujita@gmail.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-11-12T00:35:03Z
Lists: pgsql-hackers
On Mon, Nov 11, 2019 at 04:43:18PM +0100, Gilles Darold wrote:
> Hi Michael, it looks that a separate test is not required at least for
> this test. Here is a patch that enable the test in
> contrib/postgres_fdw/, expected output:

Indeed, thanks for looking.  I thought that the callback was called
after checking for max_prepared_transaction, but that's not the case.
So let's add at least a test case.  Any objections?
--
Michael

Commits

  1. Add regression test for two-phase transaction in postgres_fdw

  2. postgres_fdw: Fix error message for PREPARE TRANSACTION.