Re: amcheck support for BRIN indexes

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Tomas Vondra <tomas@vondra.me>
Cc: Arseniy Mukhin <arseniy.mukhin.dev@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-07T12:21:14Z
Lists: pgsql-hackers
On 2025-Jul-07, Tomas Vondra wrote:

> Alvaro, what's your opinion on the introduction of the new WITHIN_RANGE?
> I'd probably try to do this using the regular consistent function:
> 
> (a) we don't need to add stuff to all BRIN opclasses to support this
> 
> (b) it gives us additional testing of the consistent function
> 
> (c) building a scan key for equality seems pretty trivial
> 
> What do you think?

Oh yeah, if we can build this on top of the existing primitives, then
I'm all for that.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/