Re: Static snapshot data - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Static snapshot data
Date
Msg-id 24669.1053388856@sss.pgh.pa.us
Whole thread Raw
In response to Re: Static snapshot data  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> But there are a lot of things to do before nested transactions become a
> reality.  For example there is need to abort any transaction, including
> possible subtransactions, in the case of deadlock.  How is this supposed
> to be?  Do we abort the whole transaction tree?  Do we abort only the
> branch of the tree that has the needed locks?

Deadlock is not different from any other elog(ERROR) condition: you
abort the innermost transaction.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Doug McNaught
Date:
Subject: Re: Text format protocol representation
Next
From: Tom Lane
Date:
Subject: Re: Text format protocol representation