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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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