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

From Tom Lane
Subject pgsql: Suppress scary-looking log messages from async-notify isolation
Date
Msg-id E1aaYBp-0003ph-Ol@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve error message for rejecting RETURNING clauses with dropp
Next
From: Peter Eisentraut
Date:
Subject: pgsql: UCS_to_most.pl: Make executable, for consistency with other scri