Zeugswetter Andreas SB  <[EMAIL PROTECTED]> writes:
> I do not however see how the current solution fixes the original problem,
> that we don't have a rollback for index modifications.
> The index would potentially point to an empty heaptuple slot.

How?  There will be an XLOG entry inserting the heap tuple before the
XLOG entry that updates the index.  Rollforward will redo both.  The
heap tuple might not get committed, but it'll be there.

> Additionally I do not see how this all works for userland index types.

None of it works for index types that don't do XLOG entries (which I
think may currently be true for everything except btree :-( ...).  I
don't see how that changes if we alter the way this bit is done.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to