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

vacuum hint on elog

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: vacuum hint on elog
Date: 2005-01-22 12:28:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
It occurred to me that if we elog(ERROR) during VACUUM, the vacuum 
activity hint will not be reset. This will result in all subsequent I/O 
by the current backend being treated by the bufmgr as though it resulted 
from VACUUM. While elog(ERROR) during VACUUM is not a common occurrence, 
I don't think it's wise to assume it is impossible.

Attached is a patch which resets the vacuum activity hint in 

Barring any objections, I intend to apply this to REL8_0_STABLE and HEAD 
sometime on Monday.


Attachment: vacuum_hint_reset-1.patch
Description: text/x-patch (1.1 KB)


pgsql-patches by date

Next:From: Alvaro HerreraDate: 2005-01-22 12:56:33
Subject: Re: vacuum hint on elog
Previous:From: Neil ConwayDate: 2005-01-22 10:13:17
Subject: Re: pg_autovacuum/Win32 Fixes

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