Skip site navigation (1) Skip section navigation (2)

Re: setQueryTimout()

From: Radosław Smogura <rsmogura(at)softperience(dot)eu>
To: knircky <knircky(at)gmail(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: setQueryTimout()
Date: 2010-09-29 08:52:56
Message-ID: 684303476ecf035c00819176cc9bd849@smogura-softworks.eu (view raw or flat)
Thread:
Lists: pgsql-jdbc
On Mon, 27 Sep 2010 17:29:13 -0700 (PDT), knircky <knircky(at)gmail(dot)com>
wrote:
> The following error occurred when running SQL query "SELECT * FROM
> GT.GameTypeDescription;" on database "HM_postgres": Method
> org.postgresql.jdbc4.Jdbc4Statement.setQueryTimeout(int) is not yet
> implemented.

I posted at the end of 2009 a patch for query timeout implementation on
server side (as we extensively use PostgreSQL)
(http://archives.postgresql.org/pgsql-jdbc/2009-11/msg00010.php), you can
download it and try patching - I will review a code once again, but you
can
check, using supplied tests, that this works and what is most important
terminates (!) deadlocked statements.

Kind regards,
Radosław Smogura
http://www.softperience.eu

pgsql-jdbc by date

Next:From: Georg M. SorstDate: 2010-09-29 09:16:56
Subject: Loading a dump containing include commands
Previous:From: rsmoguraDate: 2010-09-29 08:25:57
Subject: Re: setQueryTimout()

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group