BUG #4123: Statement.setQueryTimeout does not work with Postgres Java Driver

From: "Amit Mujawar" <amit(dot)mujawar(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4123: Statement.setQueryTimeout does not work with Postgres Java Driver
Date: 2008-04-22 10:05:03
Message-ID: 200804221005.m3MA53Cc035590@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4123
Logged by: Amit Mujawar
Email address: amit(dot)mujawar(at)gmail(dot)com
PostgreSQL version: 8.1
Operating system: Windows XP
Description: Statement.setQueryTimeout does not work with Postgres
Java Driver
Details:

I am using PostgreSQL through JDBC
PostgreSQL 8.1, Driver - org.postgresql.Driver 8.1-408.jdbc3

When I set Statement.setQueryTimeout, the timeout value does not show any
effect on actual timeout...The query blocks for a specific time always [may
be configured by another global variable - statement_timeout? not sure]

I suspect there is a problem with JDBC driver implementation for
setQueryTimeout API.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John Parnefjord 2008-04-22 10:53:39 Re: ERROR: failed to re-find parent key in "sl_seqlog_idx" for deletion target
Previous Message Eugen Konkov 2008-04-22 08:49:17 BUG #4122: ./postres 'restart' does not start server with same options as 'start' does