pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: peter royal <peter.royal@pobox.com>
To: PostgreSQL - JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: Implementing setQueryTimeout() - round 2
Date: Mon, 18 Feb 2008 21:06:00 -0800
Message-ID: <3ACF9DA1-9B0A-4496-A9BE-8C374867ACDE@pobox.com> (raw)
In-Reply-To: <47BA5D9C.5050203@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>

On Feb 18, 2008, at 8:39 PM, Oliver Jowett wrote:
> Unfortunately statement_timeout is not sufficient for what I need,  
> so my changes will end up doing more than that. Here's an attempt at  
> a compromise:
>
> Add 4 new connection parameters, associated connection / statement  
> values and accessors on the postgresql extension interfaces:

this seems complicated.

can setQueryTimeout set statement_timeout, and then can any additional  
logic be implemented externally?

i agree with tom that tying queries actually running long and network  
failures isn't appropriate.

-pete

-- 
(peter.royal|osi)@pobox.com - http://fotap.org/~osi

Attachments:

  smime.p7s (application/pkcs7-signature, 2.4K) download

view thread (7+ messages)  latest in thread

Message-ID: <3ACF9DA1-9B0A-4496-A9BE-8C374867ACDE@pobox.com>
Permalink:  ../3ACF9DA1-9B0A-4496-A9BE-8C374867ACDE@pobox.com/
Also on:    postgresql.org/message-id/3ACF9DA1-9B0A-4496-A9BE-8C374867ACDE@pobox.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: peter.royal@pobox.com
  Subject: Re: Implementing setQueryTimeout() - round 2
  In-Reply-To: <3ACF9DA1-9B0A-4496-A9BE-8C374867ACDE@pobox.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> <3ACF9DA1-9B0A-4496-A9BE-8C374867ACDE@pobox.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