RE: AW: timeout on lock feature

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: AW: timeout on lock feature
Дата
Msg-id 8F4C99C66D04D4118F580090272A7A234D33B7@sectorbase1.sectorbase.com
обсуждение исходный текст
Ответ на AW: timeout on lock feature  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Ответы Re: AW: timeout on lock featurey  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
> One idea Tom had was to make it only active in a transaction, 
> so you do:
> 
>     BEGIN WORK;
>     SET TIMEOUT TO 10;
>     UPDATE tab SET col = 3;
>     COMMIT
> 
> Tom is concerned people will do the SET and forget to RESET 
> it, causing all queries to be affected by the timeout.

And what? Queries would be just aborted. It's not critical event
to take responsibility from user.

Vadim


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUG?] tgconstrrelid doesn't survive a dump/restore
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: No printable 7.1 docs?