Re: timeout implementation issues - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: timeout implementation issues
Date
Msg-id EKEJJICOHDIEMGPNIFIJKEFJHGAA.Inoue@tpf.co.jp
Whole thread Raw
In response to Re: timeout implementation issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: timeout implementation issues
List pgsql-hackers
> -----Original Message-----
> From: Tom Lane
> 
> Jan Wieck <janwieck@yahoo.com> writes:
> >     Could  we  get  out  of  this  by  defining that "timeout" is
> >     automatically reset at next statement end?
> 
> I was hoping to avoid that, because it seems like a wart.  OTOH,
> it'd be less of a wart than the global changes of semantics that
> Bruce is proposing :-(

Probably I'm misunderstanding this thread.
Why must the query_timeout be reset particularly ?
What's wrong with simply issueing set query_timeout
command just before every query ?

regards,
Hiroshi Inoue 


pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: Re: What's the CURRENT schema ?
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: RFC: Restructuring pg_aggregate