Re: timeout implementation issues

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: timeout implementation issues
Дата
Msg-id 200204100027.g3A0R1929901@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: timeout implementation issues  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Список pgsql-hackers
Hiroshi Inoue wrote:
> > > Oops does the first mean rolling back the variables on abort ?
> > > If so I made a mistake. The current is better than the second.
> > 
> > The second means all SET's are rolled back on abort.
> 
> I see.
> BTW what varibles are rolled back on abort currently ?

Currently, none, though the SET commands after the query aborts are
ignored, which is effectively the same as rolling them back.
BEGIN WORK;SET x=3;failed query;SET x=5;COMMIT;

In this case, x=3 at end of query.

--  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 по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: timeout implementation issues
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: timeout implementation issues