From: Radosław Smogura <rsmogura@softperience.eu>
To: David Fetter <david@fetter.org>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Cc: PostgreSQL JDBC List <pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
Date: Wed, 13 Oct 2010 19:17:48 +0200
Message-ID: <201010131917.48428.rsmogura@softperience.eu> (raw)
In-Reply-To: <20101012141439.GA29627@fetter.org>
References: <20101011064615.GJ29408@fetter.org>
<88dcb3988805ede17af4a460ad251534@smogura-softworks.eu>
<20101012141439.GA29627@fetter.org>
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.plAttachments:
statemnt_to_20101013.patch.gz (application/x-gzip, 18.1K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: rsmogura@softperience.eu, david@fetter.org, Kevin.Grittner@wicourts.gov, pgsql-hackers@postgresql.org
Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
In-Reply-To: <201010131917.48428.rsmogura@softperience.eu>
References: <20101011064615.GJ29408@fetter.org> <88dcb3988805ede17af4a460ad251534@smogura-softworks.eu> <20101012141439.GA29627@fetter.org> <201010131917.48428.rsmogura@softperience.eu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox