Hypothetical indexes using BRIN broken since pg10

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Hypothetical indexes using BRIN broken since pg10
Date: 2019-06-27 18:02:33
Message-ID: CAOBaU_ZH0LKEA8VFCocr6Lpte1ab0b6FpvgS0y4way+RPSXfYg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I just realized that 7e534adcdc7 broke support for hypothetical
indexes using BRIN am. Attached patch fix the issue.

There's no interface to provide the hypothetical pagesPerRange value,
so I used the default one, and used simple estimates.

I'll add this patch to the next commitfest.

Attachment Content-Type Size
fix_hypothetical_brin-v1.diff text/x-patch 1.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2019-06-27 18:09:02 Re: POC: Cleaning up orphaned files using undo logs
Previous Message Tom Lane 2019-06-27 17:58:04 Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)