Re: Implementing setQueryTimeout()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, PostgreSQL - JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Implementing setQueryTimeout()
Date: 2008-02-19 03:07:50
Message-ID: 19443.1203390470@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Oliver Jowett <oliver(at)opencloud(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2008-02-19 03:12:30 Re: Implementing setQueryTimeout()
Previous Message Oliver Jowett 2008-02-19 03:03:38 Re: Implementing setQueryTimeout()