Re: timeout implementation issues

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timeout implementation issues
Дата
Msg-id 24627.1018023544@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: timeout implementation issues  (Jan Wieck <janwieck@yahoo.com>)
Ответы Re: timeout implementation issues  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Re: timeout implementation issues  (Jan Wieck <janwieck@yahoo.com>)
Re: timeout implementation issues  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: timeout implementation issues  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
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 :-(

How exactly would you make this happen?  The simplest way I can think of
to do it (reset timeout in outer loop in postgres.c) would not work,
because it'd reset the timeout as soon as the SET statement completes.
How would you get the setting to survive for exactly one additional
statement?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: PQescapeBytea is not multibyte aware
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PQescapeBytea is not multibyte aware