test_decoding: Add comments about delaying BEGIN/PREPARE

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: dfdb2f3bf5c6ff4014de142a7b82b205224e01d3
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2022-03-23T15:46:57Z
Releases: 15.0
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

Files

PathChange+/−
contrib/test_decoding/test_decoding.c modified +12 −0

Discussion

Cited messages not in the archive: 202202141336.xv35beswc6ec@alvherre.pgsql