Add STREAM_START/STREAM_STOP for transactional messages during decoding.
authorAmit Kapila <akapila@postgresql.org>
Mon, 30 Oct 2023 09:06:21 +0000 (14:36 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 30 Oct 2023 09:06:21 +0000 (14:36 +0530)
commit57891c256c345451b91ddb67a8e2a9c5eca9ae1c
tree77aa5e39ec8b055bf8444a958bf2a3c0ee68b817
parent675fed4df5db4e78d40a0ce9cb785cfba9fa480f
Add STREAM_START/STREAM_STOP for transactional messages during decoding.

In test_decoding module, when skip_empty_xacts option was specified, add
stream_start/stop for streaming transactional messages. This makes the
handling of transactional messages stream consistent irrespective of
whether skip_empty_xacts option was specified.

Commit 26dd0284b9 made a similar change for non-streaming messages but
forgot to update the streaming cases.

Author: Peter Smith
Reviewed-by: Amit Kapila
Discussion: http://postgr.es/m/OS0PR01MB5716AEBD2988F8F5E9D5985794DFA@OS0PR01MB5716.jpnprd01.prod.outlook.com
contrib/test_decoding/expected/stream.out
contrib/test_decoding/expected/twophase_stream.out
contrib/test_decoding/test_decoding.c