Re: [PATCH][DOC] Fix for PREPARE TRANSACTION doc and postgres_fdw message.
Etsuro Fujita <etsuro.fujita@gmail.com>
From: Etsuro Fujita <etsuro.fujita@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Gilles Darold <gilles@darold.net>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-11-07T10:52:42Z
Lists: pgsql-hackers
Attachments
- fix_postgres_fdw_prepared_transaction-v4.diff (application/octet-stream) patch v4
Horiguchi-san, On Thu, Nov 7, 2019 at 5:31 PM Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote: > I forgot to mention that the comment in XACT_EVENT_PRE_PREPARE > contains the same mistake and needs more or less the same fix. Good catch! How about rewriting "We disallow remote transactions that modified anything" in the comment simply to "We disallow any remote transactions" or something like that? Attached is an updated patch. In the patch, I did s/prepare/PREPARE/ to the error message as well, as you proposed. Thanks again for reviewing! Best regards, Etsuro Fujita
Commits
-
Add regression test for two-phase transaction in postgres_fdw
- 94fec48516a7 13.0 landed
-
postgres_fdw: Fix error message for PREPARE TRANSACTION.
- 1bd67d535843 9.4.25 landed
- b260ce9c19b6 9.5.20 landed
- bca0aed2d01c 9.6.16 landed
- 0c7a28a5eabd 10.11 landed
- 042e82cef949 11.6 landed
- 0cc31cc32da0 12.1 landed
- 879c11761571 13.0 landed