Alvaro Herrera <alvherre(at)surnet(dot)cl> writes:
> I'm wondering what should happen at prepare time so that "my own cache"
> is correct.
Good point. As far as the local caches are concerned, we probably have
to make it look like the transaction rolled back. I think Heikki
already had code in there to send the right inval messages when the
prepared transaction ultimately commits ... but we'll have to check that
that sequence does the right things ...
> Do I need to send the inval messages to me? Is this even
> possible?
inval.c is less than readable, isn't it :-( But yes, and yes.
regards, tom lane