Hi, This patch series is to add support for spgist quadtree @<(point,circle) operator. The first two patches are to refactor existing code before implemention the new feature. The third commit is the actual implementation provided with a set of simple unit tests.
Matwey V. Kornilov (3): Introduce helper variable in spgquadtreeproc.c Introduce spg_quad_inner_consistent_box_helper() in spgquadtreeproc.c Add initial support for spgist quadtree @<(point,circle) operator src/backend/access/spgist/spgquadtreeproc.c | 138 +++++++++++++++++++--------- src/include/catalog/pg_amop.dat | 3 + src/test/regress/expected/create_index.out | 96 +++++++++++++++++++ src/test/regress/sql/create_index.sql | 32 +++++++ 4 files changed, 225 insertions(+), 44 deletions(-) -- 2.13.7