Re: index-only-scan when there is an index on all columns - Mailing list pgsql-general

From Andres Freund
Subject Re: index-only-scan when there is an index on all columns
Date
Msg-id 20180228001940.lgzcxxkyg34as6z2@alap3.anarazel.de
Whole thread Raw
In response to Re: index-only-scan when there is an index on all columns  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-general
On 2018-02-28 13:15:45 +1300, David Rowley wrote:
> On 28 February 2018 at 11:11, Andres Freund <andres@anarazel.de> wrote:
> > I'm fairly certain that only vacuum and table rewrites like cluster sets
> > all-visible,
> 
> I don't think the pages are set all visible again after a rewrite.

You're right. We freeze the tuples, but don't set the heap / FSM bits.

Greetings,

Andres Freund


pgsql-general by date:

Previous
From: David Rowley
Date:
Subject: Re: index-only-scan when there is an index on all columns
Next
From: Michael Krüger
Date:
Subject: Re: Parallel Query - Can it be used within functions?