aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execProcnode.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2020-11-17 12:14:53 +0530
committerAmit Kapila <akapila@postgresql.org>2020-11-17 12:14:53 +0530
commit9653f24ad8307f393de51e0a64d9b10a49efa6e3 (patch)
tree1d2d83380772116a785a530f511e58b9c3f61d56 /src/backend/executor/execProcnode.c
parent2bd49b493a52f0a21bc3fc51c355963f99ac1a4e (diff)
downloadpostgresql-9653f24ad8307f393de51e0a64d9b10a49efa6e3.tar.gz
postgresql-9653f24ad8307f393de51e0a64d9b10a49efa6e3.zip
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
Diffstat (limited to 'src/backend/executor/execProcnode.c')
0 files changed, 0 insertions, 0 deletions