Re: PageIsAllVisible()'s trustworthiness in Hot Standby - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: PageIsAllVisible()'s trustworthiness in Hot Standby
Date
Msg-id CABOikdMH5XpZkup9zV9gNWd6MEUsZ90RJQqz_3pw4H+6G4bxMA@mail.gmail.com
Whole thread Raw
In response to Re: PageIsAllVisible()'s trustworthiness in Hot Standby  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: PageIsAllVisible()'s trustworthiness in Hot Standby
List pgsql-hackers
On Wed, Dec 12, 2012 at 1:35 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Tue, Dec 4, 2012 at 12:10 PM, Pavan Deolasee
> <pavan.deolasee@gmail.com> wrote:
>> Hmm. Yeah, I do not have guts to prove that either. I'll probably write up a
>> comment for your consideration to explain why we don't trust PD_ALL_VISIBLE
>> in Hot standby for seq scans, but still trust VM for index-only scans.
>
> Sure.
>

Here is a small patch that adds comments to heap scan code explaining
why we don't trust the all-visible flag in the page, still continue to
support index-only scans on hot standby.

Thanks,
Pavan

--
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: bulk_multi_insert infinite loops with large rows and small fill factors
Next
From: Jan Urbański
Date:
Subject: Re: [PATCH] PL/Python: Add spidata to all spiexceptions