pgsql: Indicate session name in isolationtester notices

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Indicate session name in isolationtester notices
Date: 2018-11-09 16:16:16
Message-ID: E1gL9SC-0005y1-QD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Indicate session name in isolationtester notices

When a session under isolationtester produces printable notices (NOTICE,
WARNING) we were just printing them unadorned, which can be confusing
when debugging. Prefix them with the session name, which makes things
clearer.

Author: Álvaro Herrera
Reviewed-by: Hari Babu Kommi
Discussion: https://postgr.es/m/20181024213451.75nh3f3dctmcdbfq@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a28e10e82e540d45e448bc404af76df8a54008f1

Modified Files
--------------
.../isolation/expected/vacuum-concurrent-drop.out | 6 ++---
src/test/isolation/expected/vacuum-conflict.out | 16 +++++------
src/test/isolation/expected/vacuum-skip-locked.out | 16 +++++------
src/test/isolation/isolationtester.c | 31 ++++++++++++++++++++++
4 files changed, 50 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-11-10 00:00:51 pgsql: Fix incorrect routine name in xlog_heapam.h
Previous Message Michael Paquier 2018-11-09 01:08:24 pgsql: Fix dependency handling of partitions and inheritance for ON COM