pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Stark <stark@enterprisedb.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Till Toenges <tt@kyon.de>
Cc: PostgreSQL - JDBC <pgsql-jdbc@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Implementing setQueryTimeout() - round 2
Date: Tue, 19 Feb 2008 09:46:28 +0000
Message-ID: <87ve4lz3bf.fsf@oxford.xeocode.com> (raw)
In-Reply-To: <47BA9393.7090007@opencloud.com>
References: <47B8E200.2020307@opencloud.com>
	<5350.1203299903@sss.pgh.pa.us>
	<47B8EB1C.8090802@opencloud.com>
	<87ejbao6bg.fsf@oxford.xeocode.com>
	<47BA2A6E.6050907@opencloud.com>
	<17814.1203384054@sss.pgh.pa.us>
	<47BA470A.8000904@opencloud.com>
	<19443.1203390470@sss.pgh.pa.us>
	<47BA491E.9090603@opencloud.com>
	<47BA5D9C.5050203@opencloud.com>
	<47BA92F1.3040707@kyon.de>
	<47BA9393.7090007@opencloud.com>

"Oliver Jowett" <oliver@opencloud.com> writes:

> The real world case I am dealing with needs the hardQueryTimeout behaviour. If
> I'm going to implement anything first, it's that.

I still don't understand why this has to be in the driver. Your application is
going to have to be able to handle creating a new connection in response to
this error so why can't it just also be the one to close the connection?

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's 24x7 Postgres support!



view thread (7+ messages)  latest in thread

Message-ID: <87ve4lz3bf.fsf@oxford.xeocode.com>
Permalink:  ../87ve4lz3bf.fsf@oxford.xeocode.com/
Also on:    postgresql.org/message-id/87ve4lz3bf.fsf@oxford.xeocode.com

 · 

reply

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: stark@enterprisedb.com, oliver@opencloud.com, tt@kyon.de, tgl@sss.pgh.pa.us
  Subject: Re: Implementing setQueryTimeout() - round 2
  In-Reply-To: <87ve4lz3bf.fsf@oxford.xeocode.com>
  References: <47B8E200.2020307@opencloud.com> <5350.1203299903@sss.pgh.pa.us> <47B8EB1C.8090802@opencloud.com> <87ejbao6bg.fsf@oxford.xeocode.com> <47BA2A6E.6050907@opencloud.com> <17814.1203384054@sss.pgh.pa.us> <47BA470A.8000904@opencloud.com> <19443.1203390470@sss.pgh.pa.us> <47BA491E.9090603@opencloud.com> <47BA5D9C.5050203@opencloud.com> <47BA92F1.3040707@kyon.de> <47BA9393.7090007@opencloud.com> <87ve4lz3bf.fsf@oxford.xeocode.com>

* 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