pgsql: Suppress scary-looking log messages from async-notify isolation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress scary-looking log messages from async-notify isolation
Date: 2016-03-01 00:29:25
Message-ID: E1aaYBp-0003ph-Ol@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress scary-looking log messages from async-notify isolation test.

I noticed that the async-notify test results in log messages like these:

LOG: could not send data to client: Broken pipe
FATAL: connection to client lost

This is because it unceremoniously disconnects a client session that is
about to have some NOTIFY messages delivered to it. Such log messages
during a regression test might well cause people to go looking for a
problem that doesn't really exist (it did cause me to waste some time that
way). We can shut it up by adding an UNLISTEN command to session teardown.

Patch HEAD only; this doesn't seem significant enough to back-patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3d523564c53ab8f35edf4d20627f0a375a17624d

Modified Files
--------------
src/test/isolation/specs/async-notify.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-03-01 02:56:56 pgsql: Add Unicode map generation scripts as rule prerequisites
Previous Message Tom Lane 2016-03-01 00:12:45 pgsql: Improve error message for rejecting RETURNING clauses with dropp