pgsql: Only send cleanup_info messages if VACUUM removes any tuples. - Mailing list pgsql-committers

From sriggs@postgresql.org (Simon Riggs)
Subject pgsql: Only send cleanup_info messages if VACUUM removes any tuples.
Date
Msg-id 20100421195325.08AA07541D0@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Only send cleanup_info messages if VACUUM removes any tuples.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/commands:
        vacuumlazy.c (r1.133 -> r1.134)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuumlazy.c?r1=1.133&r2=1.134)

pgsql-committers by date:

Previous
From: sriggs@postgresql.org (Simon Riggs)
Date:
Subject: pgsql: Relax locking during GetCurrentVirtualXIDs().
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Enforce superuser permissions checks during ALTER ROLE/DATABASE