Re: pg_class.reltuples of brin indexes - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_class.reltuples of brin indexes
Date
Msg-id 20180327142803.5tzvrkouc43arddc@alvherre.pgsql
Whole thread Raw
In response to Re: pg_class.reltuples of brin indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_class.reltuples of brin indexes  (Masahiko Sawada <sawada.mshk@gmail.com>)
List pgsql-hackers
Tom Lane wrote:
> Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> > I think number of index tuples makes sense, as long as that's what the
> > costing needs. That is, it's up to the index AM to define it. But it
> > clearly should not flap like this ...
> 
> > And it's not just BRIN. This is what I get with a GIN index:
> 
> Sounds like the same kind of thing we just fixed for SP-GiST :-(

Most likely I modelled the BRIN code after GIN.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: XML/XPath issues: text/CDATA in XMLTABLE, XPath evaluated withwrong context
Next
From: Yugo Nagata
Date:
Subject: Re: [HACKERS] [PATCH] Lockable views