[Fwd: Bug#255208: postgresql - ignores SIGPIPE]

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: [Fwd: Bug#255208: postgresql - ignores SIGPIPE]
Date: 2004-06-20 08:34:53
Message-ID: 1087720492.25635.156.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

This seems a reasonable request. Is it possible?

-----Forwarded Message-----
From: Bastian Blank <waldi(at)debian(dot)org>
To: submit(at)bugs(dot)debian(dot)org
Subject: Bug#255208: postgresql - ignores SIGPIPE
Date: Sat, 19 Jun 2004 16:52:04 +0200

Package: postgresql
Version: 7.4.3-1
Severity: important

The postgres daemon ignores SIGPIPE. This makes it impossible to cancel
queries if the client is not able to issue a cancel command, like the
perl and python bindings.

The code contains a signal handler for SIGINT which cancels the actual
query, so I see no problem to have SIGPIPE behave the same way.

Bastian
--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
"Therefore being justified by faith, we have peace with
God through our Lord Jesus Christ." Romans 5:1

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-06-20 11:49:44 Re: [Fwd: Bug#255208: postgresql - ignores SIGPIPE]
Previous Message PostgreSQL Bugs List 2004-06-19 20:14:31 BUG #1174: to_ascii doesn't work on eth in Latin-1