test_decoding: Add comments about delaying BEGIN/PREPARE
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 23 Mar 2022 15:17:00 +0000 (16:17 +0100)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 23 Mar 2022 15:46:57 +0000 (16:46 +0100)
commitdfdb2f3bf5c6ff4014de142a7b82b205224e01d3
treeef05982992dfcc133e0ea392baf692f5747d4a73
parent68d8f9bfb2f467c306d81b4f1cee1a5a0e5ede37
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
contrib/test_decoding/test_decoding.c