SI messages sent when excuting ROLLBACK PREPARED command

From: "liuhuailing(at)fujitsu(dot)com" <liuhuailing(at)fujitsu(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: SI messages sent when excuting ROLLBACK PREPARED command
Date: 2021-07-14 12:11:15
Message-ID: OSZPR01MB6215AA84D71EF2B3D354CF86BE139@OSZPR01MB6215.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

When reading the code FinishPreparedTransaction, I found that SI messages are sent
when executing ROLLBACK PREPARED command.

But according to AtEOXact_Inval function, we send the SI messages only when committing the transaction .

So, I think we needn't send SI messags when rollbacking the two-phase transaction.
Or Does it has something special because of two-phase transaction?

Regards

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2021-07-14 12:12:32 Re: Polyphase merge is obsolete
Previous Message vignesh C 2021-07-14 12:09:12 Re: [PATCH] Finally split StdRdOptions into HeapOptions and ToastOptions