]> granicus.if.org Git - postgresql/commit
Add TAP tests for 2PC post-commit callbacks of multixacts at recovery
authorMichael Paquier <michael@paquier.xyz>
Fri, 22 Feb 2019 23:19:31 +0000 (08:19 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 22 Feb 2019 23:19:31 +0000 (08:19 +0900)
commitb1086767087efe437131b9059fc6f2d3b7c7ecc2
treeb97816ea52138f6a8034ad1c9b93edd4530923be
parentab5fcf2b04f9cc4ecccb1832faabadb047087d23
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
src/test/recovery/t/009_twophase.pl