Re: Two-phase commit
От
Tom Lane
Тема
Re: Two-phase commit
Дата
Msg-id
18565.1119111202@sss.pgh.pa.us
Ответ на
Re: Two-phase commit (Oliver Jowett)
Список
Дерево обсуждения
Two-phase commit Heikki Linnakangas <hlinnaka@iki.fi>
Re: Two-phase commit Bruce Momjian <pgman@candle.pha.pa.us>
Re: Two-phase commit Heikki Linnakangas <hlinnaka@iki.fi>
Re: Two-phase commit Heikki Linnakangas <hlinnaka@iki.fi>
Re: Two-phase commit Bruce Momjian <pgman@candle.pha.pa.us>
Re: Two-phase commit Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Two-phase commit Tom Lane <tgl@sss.pgh.pa.us>
Re: Two-phase commit Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Two-phase commit Tom Lane <tgl@sss.pgh.pa.us>
Re: Two-phase commit Oliver Jowett <oliver@opencloud.com>
Re: Two-phase commit Tom Lane <tgl@sss.pgh.pa.us>
Re: Two-phase commit Rod Taylor <pg@rbt.ca>
Re: Two-phase commit Oliver Jowett <oliver@opencloud.com>
Re: Two-phase commit Oliver Jowett <oliver@opencloud.com>
Re: Two-phase commit Tom Lane <tgl@sss.pgh.pa.us>
Re: Two-phase commit Oliver Jowett <oliver@opencloud.com>
Re: Two-phase commit Heikki Linnakangas <hlinnaka@iki.fi>
Re: Two-phase commit Oliver Jowett <oliver@opencloud.com>
Re: Two-phase commit Tom Lane <tgl@sss.pgh.pa.us>
Re: Two-phase commit Bruce Momjian <pgman@candle.pha.pa.us>
Re: Two-phase commit Fabien COELHO <coelho@cri.ensmp.fr>
Re: Two-phase commit Tom Lane <tgl@sss.pgh.pa.us>
Re: Two-phase commit Heikki Linnakangas <hlinnaka@iki.fi>
Two-phase commit patch updated Heikki Linnakangas <hlinnaka@iki.fi>
Re: Two-phase commit Bruce Momjian <pgman@candle.pha.pa.us>
While cleaning out old mail about two-phase commit, I noticed this thought from Oliver: Oliver Jowett writes: >>> Probably the next question is, do we want a database-side timeout on >>> how long prepared txns can stay alive before being summarily rolled back? >> >> That sounds very dangerous to me. You could end up breaking global >> atomicity if some other resource in the global transaction committed. > Right. You wouldn't enable it lightly.. > If pg_prepared_xacts had a time-of-preparation column, it would be > possible to put the timeout policy in an external client. Perhaps that's > a better solution? This seems like a good idea to me in any case --- barring objections, I will add this to the data structures and view. regards, tom lane
В списке pgsql-hackers по дате отправления