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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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



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.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group