Re: statement_timeout is not cancelling query - Mailing list pgsql-bugs

From Greg Stark
Subject Re: statement_timeout is not cancelling query
Date
Msg-id 407d949e0912150802x1c303117qbada120dbbd9c3f0@mail.gmail.com
Whole thread Raw
In response to Re: statement_timeout is not cancelling query  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: statement_timeout is not cancelling query  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
On Tue, Dec 15, 2009 at 3:44 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> =A0This is an
> issue that other people have run into in the past, and I don't think
> we have a good solution. =A0I wonder if we should put some kind of a
> limit in place so that queries like this will at least fail relatively
> gracefully with an error message rather than taking down the box.

Eh? That's exactly what's supposed to happen now. When malloc returns
0 you're supposed to get a graceful error message and transaction
abort.

--=20
greg

pgsql-bugs by date:

Previous
From: "Brian Krug"
Date:
Subject: BUG #5245: Full Server Certificate Chain Not Sent to client
Next
From: Robert Haas
Date:
Subject: Re: statement_timeout is not cancelling query