Avoid unnecessary shared invalidations in ROLLBACK PREPARED The performance gain is minimal, but this makes the logic more consistent with AtEOXact_Inval(). No other invalidation is needed in this case as PREPARE takes already care of sending any local ones.
Author: Liu Huailing Reviewed-by: Tom Lane, Michael Paquier Discussion: https://postgr.es/m/oszpr01mb6215aa84d71ef2b3d354cf86be...@oszpr01mb6215.jpnprd01.prod.outlook.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/710796f0542180cca18ee93889da692df642bdf2 Modified Files -------------- src/backend/access/transam/twophase.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)