pgsql: Add TAP tests for 2PC post-commit callbacks of multixacts at rec

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add TAP tests for 2PC post-commit callbacks of multixacts at rec
Date: 2019-02-22 23:20:42
Message-ID: E1gxK7W-0001bU-JB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-02-22 23:26:35 Re: pgsql: pg_regress: Don't use absolute paths for the diff
Previous Message Peter Geoghegan 2019-02-22 23:18:51 Re: pgsql: pg_regress: Don't use absolute paths for the diff