pgsql: Add an SSI regression test that tests all interesting permutatio - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Add an SSI regression test that tests all interesting permutatio
Date
Msg-id E1Qu3Iz-0000Qm-AH@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add an SSI regression test that tests all interesting permutations in the
order of begin, prepare, and commit of three concurrent transactions that
have conflicts between them.

The test runs for a quite long time, and the expected output file is huge,
but this test caught some serious bugs during development, so seems
worthwhile to keep. The test uses prepared transactions, so it fails if the
server has max_prepared_transactions=0. Because of that, it's marked as
"ignore" in the schedule file.

Dan Ports

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/af35737313f92fcbe227baf51bb69b8650acc41a

Modified Files
--------------
.../isolation/expected/prepared-transactions.out   |34843 ++++++++++++++++++++
src/test/isolation/isolation_schedule              |    5 +
src/test/isolation/isolationtester.c               |   12 +-
.../isolation/specs/prepared-transactions.spec     | 1507 +
4 files changed, 36365 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Make lazy_vacuum_rel call pg_rusage_init only if needed.
Next
From: Tom Lane
Date:
Subject: pgsql: Explain max_prepared_transactions requirement in isolation tests