On Wed, Oct 20, 2021 at 2:41 PM Tomas Vondra <
tomas.vondra@enterprisedb.com> wrote:
> BTW you mentioned using BRIN indexes for min/max - I've been thinking
> about using BRIN indexes for ordering/sorting, which seems related. And
> I think it's actually doable, so I wonder why you concluded using BRIN
> indexes for min/max is not possible?
I just gathered it was not implemented in the planner, going by the explain plan in the toy query I tried, and then I got the lightbulb in my head about count(*).
--
John Naylor
EDB:
http://www.enterprisedb.com