Re: [JDBC] Support for JDBC setQueryTimeout, et al.

Radosław Smogura <rsmogura@softperience.eu>

From: Radosław Smogura <rsmogura@softperience.eu>
To: David Fetter <david@fetter.org>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>, PG Hackers <pgsql-hackers@postgresql.org>, PostgreSQL JDBC List <pgsql-jdbc@postgresql.org>
Date: 2010-10-13T17:17:48Z
Lists: pgsql-hackers

Attachments

This, what I see in your patch, is sending additional statement to server. 
This adds some unnecessery (especially TCP/IP) latency. gura 

> > I sent such patch fully in Java
> > (http://archives.postgresql.org/pgsql-jdbc/2009-11/msg00010.php),
> > implementing cancellation with Timer and "cancel query" facility of
> > PSQL server,
> 
> Would you like to update it?

I updated patch to latets CVS version, I didn't have time to remove some 
trashes from it.

If something will be wrong with patch, give a feedback.

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