Hi, This is not an ideal way to index multirages, but something we can easily have.
typo: multiranges Cheers On Sun, Dec 27, 2020 at 1:50 AM Alexander Korotkov <aekorot...@gmail.com> wrote: > On Thu, Dec 17, 2020 at 10:10 PM Alexander Korotkov > <aekorot...@gmail.com> wrote: > > > > I think this patch is very close to committable. I'm going to spend > > some more time further polishing it and commit (if I don't find a > > major issue or face objections). > > The main patch is committed. I've prepared a set of improvements. > 0001 Fixes bug in bsearch comparison functions > 0002 Implements missing @> (range,multirange) operator and its commutator > 0003 Does refactors signatures of *_internal() multirange functions > 0004 Adds cross-type (range, multirange) operators handling to > existing range GiST opclass > 0005 Adds support for GiST multirange indexing by approximation of > multirange as the union range with no gaps > > The patchset is quite trivial. I'm going to push it if there are no > objections. > > The SP-GiST handling is more tricky and requires substantial work. > > ------ > Regards, > Alexander Korotkov >