pgsql: Fix oversight in collecting values for cleanup_info records.

From: sriggs(at)postgresql(dot)org (Simon Riggs)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix oversight in collecting values for cleanup_info records.
Date: 2010-04-21 17:20:56
Message-ID: 20100421172056.7EB667541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix oversight in collecting values for cleanup_info records.
vacuum_log_cleanup_info() now generates log records with a valid
latestRemovedXid set in all cases. Also be careful not to zero the
value when we do a round of vacuuming part-way through lazy_scan_heap().
Incidentally, this reduces frequency of conflicts in Hot Standby.

Modified Files:
--------------
pgsql/src/backend/access/heap:
pruneheap.c (r1.22 -> r1.23)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/pruneheap.c?r1=1.22&r2=1.23)
pgsql/src/backend/commands:
vacuumlazy.c (r1.132 -> r1.133)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuumlazy.c?r1=1.132&r2=1.133)
pgsql/src/include/access:
heapam.h (r1.148 -> r1.149)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/access/heapam.h?r1=1.148&r2=1.149)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2010-04-21 19:08:14 pgsql: Relax locking during GetCurrentVirtualXIDs().
Previous Message User Mkz 2010-04-21 10:08:57 pgbouncer - pgbouncer: Make listen(2) backlog argument configurable.