pgsql: Modify the isolation tester so that multiple sessions can wait.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modify the isolation tester so that multiple sessions can wait.
Date: 2016-02-11 13:36:57
Message-ID: E1aTrQX-0005eX-91@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Modify the isolation tester so that multiple sessions can wait.

This allows testing of deadlock scenarios. Scenarios that would
previously have been considered invalid are now simply taken as a
scenario in which more than one backend will wait.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/38f8bdcac4982215beb9f65a19debecaf22fd470

Modified Files
--------------
src/test/isolation/README | 9 +-
src/test/isolation/isolationtester.c | 330 ++++++++++++++++++++---------------
2 files changed, 194 insertions(+), 145 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-02-11 13:44:36 pgsql: Add some isolation tests for deadlock detection and resolution.
Previous Message Robert Haas 2016-02-11 13:34:44 pgsql: Specify permutations for isolation tests with "invalid" permutat

Browse pgsql-hackers by date

  From Date Subject
Next Message Artur Zakirov 2016-02-11 13:40:44 Re: Fuzzy substring searching with the pg_trgm extension
Previous Message Mike Rylander 2016-02-11 13:35:30 Re: Fuzzy substring searching with the pg_trgm extension