mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
Create an SP-GiST opclass for inet/cidr.
This seems to offer significantly better search performance than the existing GiST opclass for inet/cidr, at least on data with a wide mix of network mask lengths. (That may suggest that the data splitting heuristics in the GiST opclass could be improved.) Emre Hasegeli, with mostly-cosmetic adjustments by me Discussion: <CAE2gYzxtth9qatW_OAqdOjykS0bxq7AYHLuyAQLPgT7H9ZU0Cw@mail.gmail.com>
This commit is contained in:
@@ -135,6 +135,15 @@ extern Datum inet_gist_penalty(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_gist_picksplit(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_gist_same(PG_FUNCTION_ARGS);
|
||||
|
||||
/*
|
||||
* SP-GiST support functions in network_spgist.c
|
||||
*/
|
||||
extern Datum inet_spg_config(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_spg_choose(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_spg_picksplit(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_spg_inner_consistent(PG_FUNCTION_ARGS);
|
||||
extern Datum inet_spg_leaf_consistent(PG_FUNCTION_ARGS);
|
||||
|
||||
/*
|
||||
* Estimation functions in network_selfuncs.c
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user