Test decoding of two-phase transactions during the build of a consistent snapshot.
authorAmit Kapila <akapila@postgresql.org>
Tue, 5 Jan 2021 09:35:22 +0000 (15:05 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 5 Jan 2021 09:35:22 +0000 (15:05 +0530)
commit5a3574d7b33480de51692962e6fd25d00c05718a
treea464f9a492bcfcbd9fdc6be32bfe12b7036f9297
parent854434c50a35e7cb2ae22588c80ebf36e889197a
Test decoding of two-phase transactions during the build of a consistent snapshot.

Commit a271a1b50e added the capability to allow decoding at prepare time.
This adds an isolation testcase to test that decoding happens at commit
time when the consistent snapshot state is reached after prepare but
before commit prepared.

Author: Ajin Cherian
Reviewed-by: Amit Kapila
Discussion:
https://postgr.es/m/02DA5F5E-CECE-4D9C-8B4B-418077E2C010@postgrespro.ru
https://postgr.es/m/CAMGcDxeqEpWj3fTXwqhSwBdXd2RS9jzwWscO-XbeCfso6ts3+Q@mail.gmail.com
contrib/test_decoding/Makefile
contrib/test_decoding/expected/twophase_snapshot.out [new file with mode: 0644]
contrib/test_decoding/specs/twophase_snapshot.spec [new file with mode: 0644]