Only send cleanup_info messages if VACUUM removes any tuples.

Simon Riggs <simon@2ndQuadrant.com>

Commit: f6e092701c6ac7bb98ed88a769daa13d3a1755d9
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2010-04-21T19:53:24Z
Releases: 9.0.0
Only send cleanup_info messages if VACUUM removes any tuples.
There is no other purpose for this message type than to report
the latestRemovedXid of removed tuples, prior to index scans.
Removes overlooked path for sending invalid latestRemovedXid.
Fixes buildfarm failure on centaur.

Files

PathChange+/−
src/backend/commands/vacuumlazy.c modified +6 −3