postgresql/contrib/test_decoding/specs
Amit Kapila 0ba5181c00 Skip empty transaction stream in test_decoding.
We were decoding empty transactions via streaming APIs added in commit
45fdc9738b even when the user used the option 'skip-empty-xacts'. The APIs
makes no effort to skip empty xacts under the assumption that we will
never try to stream such transactions. However, that is not true because
we can pick to stream a transaction that has change messages for
REORDER_BUFFER_CHANGE_INTERNAL_SNAPSHOT and we don't send such messages to
downstream rather they are just to update the internal state. So, we need
to skip such xacts when plugin uses the option 'skip-empty-xacts'.

Diagnosed-By: Amit Kapila
Author: Dilip Kumar
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1+OqgFNZkf7=ETe_y5ntjgDk3T0wcdkd4Sot_u1hySGfw@mail.gmail.com
2020-09-11 10:00:01 +05:30
..
concurrent_ddl_dml.spec Do more cleanup of isolation tests for test_decoding 2019-08-24 12:34:37 +09:00
concurrent_stream.spec Skip empty transaction stream in test_decoding. 2020-09-11 10:00:01 +05:30
delayed_startup.spec Introduce logical decoding. 2014-03-03 16:32:18 -05:00
mxact.spec Introduce logical decoding. 2014-03-03 16:32:18 -05:00
oldest_xmin.spec Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
ondisk_startup.spec Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
snapshot_transfer.spec Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
subxact_without_top.spec Stop demanding that top xact must be seen before subxact in decoding. 2020-02-19 08:15:49 +05:30