Re: MultiXacts & WAL

From: paolo romano <paolo(dot)romano(at)yahoo(dot)it>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: MultiXacts & WAL
Date: 2006-06-17 06:47:25
Message-ID: 20060617064725.22507.qmail@web27811.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> May be this is needed to support savepoints/subtransactions? Or is it
> something else that i am missing?

It's for two-phase commit. A prepared transaction can hold locks that need
to be recovered.

When a transaction enters (successfully) the prepared state it only retains its exclusive locks and releases any shared locks (i.e. multixacts)... or, at least, that's how it should be in principle according to serializiaton theory, i haven't yet checked out if this is what is done in postgresql .

Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message paolo romano 2006-06-17 07:02:05 Re: MultiXacts & WAL
Previous Message Heikki Linnakangas 2006-06-17 06:15:49 Re: MultiXacts & WAL