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

From Pavan Deolasee
Subject Re: VACUUM always makes all pages dirty
Date
Msg-id 2e78013d0710240302gcbcd535i19a1b716f2b9ab09@mail.gmail.com
Whole thread Raw
In response to Re: VACUUM always makes all pages dirty  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Responses Re: VACUUM always makes all pages dirty
List pgsql-hackers


On 10/24/07, Pavan Deolasee <pavan.deolasee@gmail.com> wrote:


I am looking at it. We must not call SetBufferCommitInfoNeedsSave unless
we make any state changes to the page.




The attached patch should fix this. We mark the buffer dirty only if there
is any state change in the page header.


Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com
Attachment

pgsql-hackers by date:

Previous
From: "Dharmendra Goyal"
Date:
Subject: second DML operation fails with updatable cursor
Next
From: Magnus Hagander
Date:
Subject: Re: Feature Freeze date for 8.4