pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Sync isolationtester's handling of notice/warning messages with
Date: Tue, 10 Sep 2019 16:45:52 +0000
Message-ID: <E1i7jH6-0004Yd-G5@gemulon.postgresql.org> (raw)

Sync isolationtester's handling of notice/warning messages with HEAD.

Back-patch relevant parts of these commits:
30717637c Fix isolationtester race condition for notices sent before blocking
ebd499282 Don't drop NOTICE messages in isolation tests
a28e10e82 Indicate session name in isolationtester notices

This ensures that older versions of the isolationtester will handle
NOTICE/WARNING messages the same way as HEAD and v12 do.  While this
isn't fixing any critical problem right now, it seems like a prudent
change to prevent surprises (like we had yesterday...) with
back-patches of future isolation test changes.

Back-patch as far as 9.6.  Due to the significant changes we made in
isolationtester in 9.6, back-patching isolation tests further than
that is going to be risky anyway; besides, this patch doesn't apply
cleanly before that.

Discussion: https://postgr.es/m/E1i7IqC-0000Uc-5H@gemulon.postgresql.org

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5f0b71ee8532f54f3e1333853fd96293ca4aab9a

Modified Files
--------------
.../expected/insert-conflict-specconflict.out      | 38 ++++++++++++++
src/test/isolation/isolationtester.c               | 59 ++++++++++++++++++----
2 files changed, 88 insertions(+), 9 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1i7jH6-0004Yd-G5@gemulon.postgresql.org>
Permalink:  ../E1i7jH6-0004Yd-G5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1i7jH6-0004Yd-G5@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Sync isolationtester's handling of notice/warning messages with
  In-Reply-To: <E1i7jH6-0004Yd-G5@gemulon.postgresql.org>
  References: <E1i7jH6-0004Yd-G5@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