summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_bytea.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/btree_gist/btree_bytea.c')
-rw-r--r--contrib/btree_gist/btree_bytea.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/contrib/btree_gist/btree_bytea.c b/contrib/btree_gist/btree_bytea.c
index 5eacb8c59a0..751b7a2ba4f 100644
--- a/contrib/btree_gist/btree_bytea.c
+++ b/contrib/btree_gist/btree_bytea.c
@@ -7,10 +7,7 @@
#include "btree_utils_var.h"
#include "utils/fmgrprotos.h"
-
-/*
-** Bytea ops
-*/
+/* GiST support functions */
PG_FUNCTION_INFO_V1(gbt_bytea_compress);
PG_FUNCTION_INFO_V1(gbt_bytea_union);
PG_FUNCTION_INFO_V1(gbt_bytea_picksplit);
@@ -69,7 +66,6 @@ gbt_byteacmp(const void *a, const void *b, Oid collation, FmgrInfo *flinfo)
PointerGetDatum(b)));
}
-
static const gbtree_vinfo tinfo =
{
gbt_t_bytea,
@@ -86,10 +82,9 @@ static const gbtree_vinfo tinfo =
/**************************************************
- * Text ops
+ * GiST support functions
**************************************************/
-
Datum
gbt_bytea_compress(PG_FUNCTION_ARGS)
{
@@ -98,8 +93,6 @@ gbt_bytea_compress(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(gbt_var_compress(entry, &tinfo));
}
-
-
Datum
gbt_bytea_consistent(PG_FUNCTION_ARGS)
{
@@ -121,8 +114,6 @@ gbt_bytea_consistent(PG_FUNCTION_ARGS)
PG_RETURN_BOOL(retval);
}
-
-
Datum
gbt_bytea_union(PG_FUNCTION_ARGS)
{
@@ -133,7 +124,6 @@ gbt_bytea_union(PG_FUNCTION_ARGS)
&tinfo, fcinfo->flinfo));
}
-
Datum
gbt_bytea_picksplit(PG_FUNCTION_ARGS)
{
@@ -156,7 +146,6 @@ gbt_bytea_same(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(result);
}
-
Datum
gbt_bytea_penalty(PG_FUNCTION_ARGS)
{