Re: timeout implementation issues
От | Bruce Momjian |
---|---|
Тема | Re: timeout implementation issues |
Дата | |
Msg-id | 200204040405.g34457D03048@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: timeout implementation issues (Hiroshi Inoue <Inoue@tpf.co.jp>) |
Список | pgsql-hackers |
Hiroshi Inoue wrote: > > > Why should the timeout be reset automatically ? > > > > It doesn't need to be reset automatically, but the problem is that if > > you are doing a timeout for single statement in a transaction, and that > > statement aborts the transaction, the SET command after it to reset the > > timeout fails. > > As for ODBC, there's no state that *abort* but still inside > a transaction currently. Yes, the strange thing is that SET inside a transaction _after_ the transaction aborts is ignored, while SET before inside a transaction before the transaction aborts is accepted. -- 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, Pennsylvania19026
В списке pgsql-hackers по дате отправления: