pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add isolation tests for the combination of EPQ and triggers.
Date: Fri, 04 Oct 2019 21:37:04 +0000
Message-ID: <E1iGVG4-0001Kl-B8@gemulon.postgresql.org> (raw)

Add isolation tests for the combination of EPQ and triggers.

As evidenced by bug #16036 this area is woefully under-tested. Add
fairly extensive tests for the combination.

Backpatch back to 9.6 - before that isolationtester was not capable
enough. While we don't backpatch tests all the time, future fixes to
trigger.c would potentially look different enough in 12+ from the
earlier branches that introducing bugs during backpatching is more
likely than normal. Also, it's just a crucial and undertested area of
the code.

Author: Andres Freund
Discussion: https://postgr.es/m/16036-28184c90d952fb7f@postgresql.org
Backpatch: 9.6-, the earliest these tests work

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/54b0feaf90d8c00adb5aa9c094b4f70b509ede0f

Modified Files
--------------
.../isolation/expected/eval-plan-qual-trigger.out  | 2587 ++++++++++++++++++++
src/test/isolation/isolation_schedule              |    1 +
.../isolation/specs/eval-plan-qual-trigger.spec    |  409 ++++
3 files changed, 2997 insertions(+)



view thread (5+ messages)  latest in thread

Message-ID: <E1iGVG4-0001Kl-B8@gemulon.postgresql.org>
Permalink:  ../E1iGVG4-0001Kl-B8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iGVG4-0001Kl-B8@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: Add isolation tests for the combination of EPQ and triggers.
  In-Reply-To: <E1iGVG4-0001Kl-B8@gemulon.postgresql.org>
  References: <E1iGVG4-0001Kl-B8@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox