Re: WIP: BRIN multi-range indexes
Alexander Korotkov <a.korotkov@postgrespro.ru>
From: Alexander Korotkov <a.korotkov@postgrespro.ru>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>, Mark Dilger <hornschnorter@gmail.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-03-03T04:35:52Z
Lists: pgsql-hackers
On Sun, Mar 3, 2019 at 12:12 AM Tomas Vondra <tomas.vondra@2ndquadrant.com> wrote: > On 3/2/19 10:05 AM, Alexander Korotkov wrote: > > assuming it's not AM-defined function, but function used for > > inter-opclass compatibility. > > I'm not sure I understand what you mean by this. Can you elaborate? Does > the current implementation (i.e. distance function being implemented as > an opclass support procedure) work for you or not? I mean that unlike other index access methods BRIN allow opclasses to define custom support procedures. These support procedures are not directly called from AM, but might be called from other opclass support procedures. That allows to re-use the same high-level support procedures in multiple opclasses. So, distance support procedure is not directly called from AM. We don't have to change the interface between AM and opclass for that. This is why I'm OK with that. ------ Alexander Korotkov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
Commits
-
BRIN minmax-multi indexes
- ab596105b55f 14.0 landed
-
BRIN bloom indexes
- 77b88cd1bb90 14.0 landed
-
Support the old signature of BRIN consistent function
- a681e3c107aa 14.0 landed
-
Remove unnecessary pg_amproc BRIN minmax entries
- a68dfa27d42f 14.0 landed
-
Optimize allocations in bringetbitmap
- 8e4b332e88b8 14.0 landed
-
Move IS [NOT] NULL handling from BRIN support functions
- 72ccf55cb99c 14.0 landed
-
Pass all scan keys to BRIN consistent function at once
- a1c649d889bd 14.0 landed
-
Properly detoast data in brin_form_tuple
- d2d3a4bd33d2 9.5.24 landed
- bae31e75f777 9.6.20 landed
- 0b96fc977c5b 10.15 landed
- 895d0f0e8218 11.10 landed
- 8149e9f9a0d6 12.5 landed
- 6a7b55f3716f 13.1 landed
- 7577dd84807a 14.0 landed