On Fri, 2009-12-04 at 13:31 +0200, Heikki Linnakangas wrote: > b) seems much simpler to me.
OK. Least ugly wins, but she ain't pretty. > > 2. (In HS recovery) When we see first commit record for the VF xid we > > commit the transaction in clog, yet maintain locks and KnownAssigned > > xids > > > > 3. (In HS recovery) When we see second commit record for the VF xid we > > skip clog updates but then perform remaining parts of commit. > > I's harmless to set a clog entry as committed twice, so you can treat > the 2nd commit record the same as a regular commit record. Yeh, OK, it is harmless and makes code cleaner. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers