From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix broken logic in lazy_vacuum_heap.
Date: Fri, 13 Jan 2012 13:23:32 +0000
Message-ID: <E1Rlh6S-0003gc-9d@gemulon.postgresql.org> (raw)
Fix broken logic in lazy_vacuum_heap.
As noted by Tom Lane, the previous coding in this area, which I
introduced in commit bbb6e559c4ea0fb4c346beda76736451dc24eb4e, was
poorly tested and caused the vacuum's second heap to go into what would
have been an infinite loop but for the fact that it eventually caused a
memory allocation failure. This version seems to work better.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d0dcb315db0043f10073a9a244cea138e9e60edd
Modified Files
--------------
src/backend/commands/vacuumlazy.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Fix broken logic in lazy_vacuum_heap.
In-Reply-To: <E1Rlh6S-0003gc-9d@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox