BUG #4123: Statement.setQueryTimeout does not work with Postgres Java Driver - Mailing list pgsql-bugs

From Amit Mujawar
Subject BUG #4123: Statement.setQueryTimeout does not work with Postgres Java Driver
Date
Msg-id 200804221005.m3MA53Cc035590@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #4123: Statement.setQueryTimeout does not work with Postgres Java Driver
List pgsql-bugs
The following bug has been logged online:

Bug reference:      4123
Logged by:          Amit Mujawar
Email address:      amit.mujawar@gmail.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.

pgsql-bugs by date:

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