diff options
Diffstat (limited to 'contrib/btree_gist/btree_float8.c')
-rw-r--r-- | contrib/btree_gist/btree_float8.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/contrib/btree_gist/btree_float8.c b/contrib/btree_gist/btree_float8.c index a74cd200529..9fb9cf024bd 100644 --- a/contrib/btree_gist/btree_float8.c +++ b/contrib/btree_gist/btree_float8.c @@ -13,9 +13,7 @@ typedef struct float8key float8 upper; } float8KEY; -/* -** float8 ops -*/ +/* GiST support functions */ PG_FUNCTION_INFO_V1(gbt_float8_compress); PG_FUNCTION_INFO_V1(gbt_float8_fetch); PG_FUNCTION_INFO_V1(gbt_float8_union); @@ -113,11 +111,11 @@ float8_dist(PG_FUNCTION_ARGS) PG_RETURN_FLOAT8(fabs(r)); } + /************************************************** - * float8 ops + * GiST support functions **************************************************/ - Datum gbt_float8_compress(PG_FUNCTION_ARGS) { @@ -157,7 +155,6 @@ gbt_float8_consistent(PG_FUNCTION_ARGS) fcinfo->flinfo)); } - Datum gbt_float8_distance(PG_FUNCTION_ARGS) { @@ -175,7 +172,6 @@ gbt_float8_distance(PG_FUNCTION_ARGS) &tinfo, fcinfo->flinfo)); } - Datum gbt_float8_union(PG_FUNCTION_ARGS) { @@ -186,7 +182,6 @@ gbt_float8_union(PG_FUNCTION_ARGS) PG_RETURN_POINTER(gbt_num_union(out, entryvec, &tinfo, fcinfo->flinfo)); } - Datum gbt_float8_penalty(PG_FUNCTION_ARGS) { |