pgsql: Add TAP tests for 2PC post-commit callbacks of multixacts atrec - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add TAP tests for 2PC post-commit callbacks of multixacts atrec
Date
Msg-id E1gxK7W-0001bU-JB@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add TAP tests for 2PC post-commit callbacks of multixacts at recovery

The current set of TAP tests for two-phase transactions include some
coverage for post-commit callbacks of multixact, but it lacked tests for
testing the recovery of those callbacks.  This commit adds some tests
with soft and hard restarts in this case, using transactions which
include DDLs.

Author: Michael Paquier
Reviewed-by: Oleksii Kliukin
Discussion: https://postgr.es/m/20190221055431.GO15532@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b1086767087efe437131b9059fc6f2d3b7c7ecc2

Modified Files
--------------
src/test/recovery/t/009_twophase.pl | 56 ++++++++++++++++++++++++++++++++++++-
1 file changed, 55 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: pg_regress: Don't use absolute paths for the diff
Next
From: Andres Freund
Date:
Subject: Re: pgsql: pg_regress: Don't use absolute paths for the diff