pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Gregory Stark <stark@enterprisedb.com>
Cc: PostgreSQL - JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Implementing setQueryTimeout()
Date: Mon, 18 Feb 2008 22:07:50 -0500
Message-ID: <19443.1203390470@sss.pgh.pa.us> (raw)
In-Reply-To: <47BA470A.8000904@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>

Oliver Jowett <oliver@opencloud.com> writes:
> Tom Lane wrote:
>> I think it's a serious, serious conceptual error to tie network timeouts
>> to query timeouts.

> Why? I don't understand this argument.

Because the failure mechanisms that you're worried about are completely
different in the two cases, and don't necessarily have similar timeout
requirements (to say nothing of the appropriate recovery actions).

			regards, tom lane



view thread (16+ messages)  latest in thread

Message-ID: <19443.1203390470@sss.pgh.pa.us>
Permalink:  ../19443.1203390470@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19443.1203390470@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, oliver@opencloud.com, stark@enterprisedb.com
  Subject: Re: Implementing setQueryTimeout()
  In-Reply-To: <19443.1203390470@sss.pgh.pa.us>
  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>

* 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