Re: implementing query timeout - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: implementing query timeout
Date
Msg-id 200207110134.g6B1Yt617282@candle.pha.pa.us
Whole thread Raw
In response to Re: implementing query timeout  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-patches
Jan Wieck wrote:
> Bruce Momjian wrote:
> >
> > Peter Eisentraut wrote:
> > > Bruce Momjian writes:
> > >
> > > > Here is my first draft of a query timeout SET variable.
> > >
> > > Unless it only cancels SELECT statements (which may or may not be a good
> > > idea), please call it statement_timeout.
> >
> > Do people prefer query_timeout or statement_timeout?  Doesn't matter to
> > me.
>
> Statements is everything. DDL- and DML-statements. Query is IMHO synonym
> for DML-statement. So query_timeout is the right term.

But the timeout is for any statement, not just SELECT/UPDATE, etc, so it
sounds like you are voting for 'statement'.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: sugita@sra.co.jp
Date:
Subject: Re: install-sh patch for Mac OS X
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Table Function API doc patch