postgresql/src/include/replication
Amit Kapila 9653f24ad8 Fix 'skip-empty-xacts' option in test_decoding for streaming mode.
In streaming mode, the transaction can be decoded in multiple streams and
those streams can be interleaved with streams of other transactions. So,
we can't remember the transaction's write status in the logical decoding
context because that might get changed due to some other transactions and
lead to wrong answers for 'skip-empty-xacts' option. We decided to keep
each transaction's write status in the ReorderBufferTxn to avoid
interleaved streams changing the status of some unrelated transactions.

Diagnosed-by: Amit Kapila
Author: Dilip Kumar
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1LR7=XNM_TLmpZMFuV8ZQpoxkem--NZJYf8YXmesbvwLA@mail.gmail.com
2020-11-17 12:14:53 +05:30
..
backup_manifest.h Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
basebackup.h Don't export basebackup.c's sendTablespace(). 2020-06-17 10:57:34 -04:00
decode.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
logical.h Track statistics for spilling of changes from ReorderBuffer. 2020-10-08 09:09:08 +05:30
logicallauncher.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
logicalproto.h Fix some typos 2020-11-14 11:43:10 +09:00
logicalrelation.h Fix bogus cache-invalidation logic in logical replication worker. 2020-09-16 12:07:31 -04:00
logicalworker.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
message.h Print WAL logical message contents in pg_waldump 2020-09-10 19:37:02 -03:00
origin.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
output_plugin.h Extend the logical decoding output plugin API with stream methods. 2020-07-28 08:09:44 +05:30
pgoutput.h Allow logical replication to transfer data in binary format. 2020-07-18 12:44:51 -04:00
reorderbuffer.h Fix 'skip-empty-xacts' option in test_decoding for streaming mode. 2020-11-17 12:14:53 +05:30
slot.h Track statistics for spilling of changes from ReorderBuffer. 2020-10-08 09:09:08 +05:30
snapbuild.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
syncrep.h Fix race conditions in synchronous standby management. 2020-04-18 14:02:44 -04:00
walreceiver.h Add support for streaming to built-in logical replication. 2020-09-03 07:54:07 +05:30
walsender.h Generate backup manifests for base backups, and validate them. 2020-04-03 15:05:59 -04:00
walsender_private.h Revert "Track statistics for spilling of changes from ReorderBuffer". 2020-07-13 08:53:23 +05:30
worker_internal.h Fix replication/worker_internal.h to compile without other headers. 2020-07-18 14:58:18 -04:00