Re: VACUUM always makes all pages dirty - Mailing list pgsql-hackers

From Tom Lane
Subject Re: VACUUM always makes all pages dirty
Date
Msg-id 1040.1193231237@sss.pgh.pa.us
Whole thread Raw
In response to Re: VACUUM always makes all pages dirty  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
List pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> The attached patch should fix this. We mark the buffer dirty only if there
> is any state change in the page header.

Applied, with minor additional tweak to avoid duplicate calls to
SetBufferCommitInfoNeedsSave --- that seems (just) expensive enough
to be worth the trouble.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Brian Hurt
Date:
Subject: Re: Feature Freeze date for 8.4
Next
From: Gregory Stark
Date:
Subject: Re: Feature Freeze date for 8.4