mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Add BRIN infrastructure for "inclusion" opclasses
This lets BRIN be used with R-Tree-like indexing strategies. Also provided are operator classes for range types, box and inet/cidr. The infrastructure provided here should be sufficient to create operator classes for similar datatypes; for instance, opclasses for PostGIS geometries should be doable, though we didn't try to implement one. (A box/point opclass was also submitted, but we ripped it out before commit because the handling of floating point comparisons in existing code is inconsistent and would generate corrupt indexes.) Author: Emre Hasegeli. Cosmetic changes by me Review: Andreas Karlsson
This commit is contained in:
@ -62,9 +62,9 @@
|
||||
#define INETSTRAT_GT RTGreaterStrategyNumber
|
||||
#define INETSTRAT_GE RTGreaterEqualStrategyNumber
|
||||
#define INETSTRAT_SUB RTSubStrategyNumber
|
||||
#define INETSTRAT_SUBEQ RTSubOrEqualStrategyNumber
|
||||
#define INETSTRAT_SUBEQ RTSubEqualStrategyNumber
|
||||
#define INETSTRAT_SUP RTSuperStrategyNumber
|
||||
#define INETSTRAT_SUPEQ RTSuperOrEqualStrategyNumber
|
||||
#define INETSTRAT_SUPEQ RTSuperEqualStrategyNumber
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user