Re: executeQuery hangs on busy server - PROPOSAL: socketTimeout parameter - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: executeQuery hangs on busy server - PROPOSAL: socketTimeout parameter
Date
Msg-id 3763.1186762494@sss.pgh.pa.us
Whole thread Raw
In response to Re: executeQuery hangs on busy server - PROPOSAL: socketTimeout parameter  (Kris Jurka <books@ejurka.com>)
Responses Re: executeQuery hangs on busy server - PROPOSAL: socketTimeout parameter
List pgsql-jdbc
Kris Jurka <books@ejurka.com> writes:
> People want the query to be stopped, but they don't want their whole
> connection to be killed which is what your change does.

Can't you just "set statement_timeout = something" if you don't want to
let long queries complete?

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: [NOVICE] Install two different versions of postgres which should run in parallel
Next
From: Kris Jurka
Date:
Subject: Re: executeQuery hangs on busy server - PROPOSAL: socketTimeout parameter