SI messages sent when excuting ROLLBACK PREPARED command
liuhuailing@fujitsu.com <liuhuailing@fujitsu.com>
From: "liuhuailing@fujitsu.com" <liuhuailing@fujitsu.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-07-14T12:11:15Z
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
Commits
-
Avoid unnecessary shared invalidations in ROLLBACK PREPARED
- 710796f05421 15.0 landed