From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Sync isolationtester's handling of notice/warning messages with |
Date: | 2019-09-10 16:45:52 |
Message-ID: | E1i7jH6-0004Ya-Fq@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/b5784042ae7a8c15dc44a7d0112b575dfcc101dc
Modified Files
--------------
.../expected/insert-conflict-specconflict.out | 38 ++++++++++++++
src/test/isolation/expected/plpgsql-toast.out | 15 ++++--
.../isolation/expected/vacuum-concurrent-drop.out | 6 +--
src/test/isolation/isolationtester.c | 59 ++++++++++++++++++----
src/test/isolation/specs/plpgsql-toast.spec | 10 ++--
5 files changed, 106 insertions(+), 22 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2019-09-10 21:16:21 | pgsql: Fix unaccent generation script in Windows |
Previous Message | Tom Lane | 2019-09-10 16:05:06 | pgsql: Don't drop NOTICE messages in isolation tests. |