SIGPIPE does not try to cancel a query

Started by Bastian Blankalmost 22 years ago2 messageshackers
Jump to latest
#1Bastian Blank
bastian@waldi.eu.org

Hi folks

Several times I killed clients which issued a longtime query. The
clients don't cancel the query and closes the connection. The backend
ignores the delivered SIGPIPE instead of counting it as a cancelation
request like SIGINT/TERM.

Bastian

--
Earth -- mother of the most beautiful women in the universe.
-- Apollo, "Who Mourns for Adonais?" stardate 3468.1

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bastian Blank (#1)
Re: SIGPIPE does not try to cancel a query

Bastian Blank <bastian@waldi.eu.org> writes:

Several times I killed clients which issued a longtime query. The
clients don't cancel the query and closes the connection. The backend
ignores the delivered SIGPIPE instead of counting it as a cancelation
request like SIGINT/TERM.

That's intentional.

regards, tom lane