| From: | Radosław Smogura <rsmogura(at)softperience(dot)eu> |
|---|---|
| To: | David Fetter <david(at)fetter(dot)org> |
| Cc: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org> |
| Subject: | Re: [JDBC] Support for JDBC setQueryTimeout, et al. |
| Date: | 2010-10-13 17:17:48 |
| Message-ID: | 201010131917.48428.rsmogura@softperience.eu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-jdbc |
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
| Attachment | Content-Type | Size |
|---|---|---|
| statemnt_to_20101013.patch.gz | application/x-gzip | 18.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-10-13 17:19:27 | Re: leaky views, yet again |
| Previous Message | Tom Lane | 2010-10-13 16:56:15 | Re: SQL command to edit postgresql.conf, with comments |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Grittner | 2010-10-13 18:27:01 | Re: [JDBC] Support for JDBC setQueryTimeout, et al. |
| Previous Message | Juan Argandoña | 2010-10-12 23:55:47 | PSQLException: An I/O error occured while sending to the backend |