Skip site navigation (1) Skip section navigation (2)

pgsql: Fix broken logic in lazy_vacuum_heap.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix broken logic in lazy_vacuum_heap.
Date: 2012-01-13 13:23:32
Message-ID: E1Rlh6S-0003gc-9d@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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(-)

pgsql-committers by date

Next:From: Simon RiggsDate: 2012-01-13 13:29:51
Subject: Re: pgsql: Typo fix.
Previous:From: Robert HaasDate: 2012-01-13 13:22:12
Subject: pgsql: Typo fix.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group