pgsql: test_decoding: Add comments about delaying BEGIN/PREPARE - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: test_decoding: Add comments about delaying BEGIN/PREPARE
Date
Msg-id E1nX3De-0012XD-4G@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
test_decoding: Add comments about delaying BEGIN/PREPARE

It is not immediately obvious why we return early in these functions;
these comments should make it so.

Reviewed-by: Tomas Vondra <tomas.vondra@enterprisedb.com>
Discussion: https://postgr.es/m/202202141336.xv35beswc6ec@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/dfdb2f3bf5c6ff4014de142a7b82b205224e01d3

Modified Files
--------------
contrib/test_decoding/test_decoding.c | 12 ++++++++++++
1 file changed, 12 insertions(+)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Unbreak the build.
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Fix skip-empty-xacts with sequences in test_decoding