mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Add SP-GiST (space-partitioned GiST) index access method.
SP-GiST is comparable to GiST in flexibility, but supports non-balanced partitioned search structures rather than balanced trees. As described at PGCon 2011, this new indexing structure can beat GiST in both index build time and query speed for search problems that it is well matched to. There are a number of areas that could still use improvement, but at this point the code seems committable. Teodor Sigaev and Oleg Bartunov, with considerable revisions by Tom Lane
This commit is contained in:
@ -1080,6 +1080,26 @@ extern Datum window_first_value(PG_FUNCTION_ARGS);
|
||||
extern Datum window_last_value(PG_FUNCTION_ARGS);
|
||||
extern Datum window_nth_value(PG_FUNCTION_ARGS);
|
||||
|
||||
/* access/spgist/spgquadtreeproc.c */
|
||||
extern Datum spg_quad_config(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_quad_choose(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_quad_picksplit(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_quad_inner_consistent(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_quad_leaf_consistent(PG_FUNCTION_ARGS);
|
||||
|
||||
/* access/spgist/spgkdtreeproc.c */
|
||||
extern Datum spg_kd_config(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_kd_choose(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_kd_picksplit(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_kd_inner_consistent(PG_FUNCTION_ARGS);
|
||||
|
||||
/* access/spgist/spgtextproc.c */
|
||||
extern Datum spg_text_config(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_text_choose(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_text_picksplit(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_text_inner_consistent(PG_FUNCTION_ARGS);
|
||||
extern Datum spg_text_leaf_consistent(PG_FUNCTION_ARGS);
|
||||
|
||||
/* access/gin/ginarrayproc.c */
|
||||
extern Datum ginarrayextract(PG_FUNCTION_ARGS);
|
||||
extern Datum ginarrayextract_2args(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user