summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/btree_gist/btree_time.c')
-rw-r--r--contrib/btree_gist/btree_time.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/contrib/btree_gist/btree_time.c b/contrib/btree_gist/btree_time.c
index 2f7859340f6..79a895159b2 100644
--- a/contrib/btree_gist/btree_time.c
+++ b/contrib/btree_gist/btree_time.c
@@ -15,9 +15,7 @@ typedef struct
TimeADT upper;
} timeKEY;
-/*
-** time ops
-*/
+/* GiST support functions */
PG_FUNCTION_INFO_V1(gbt_time_compress);
PG_FUNCTION_INFO_V1(gbt_timetz_compress);
PG_FUNCTION_INFO_V1(gbt_time_fetch);
@@ -92,8 +90,6 @@ gbt_timelt(const void *a, const void *b, FmgrInfo *flinfo)
TimeADTGetDatumFast(*bb)));
}
-
-
static int
gbt_timekey_cmp(const void *a, const void *b, FmgrInfo *flinfo)
{
@@ -150,11 +146,9 @@ time_dist(PG_FUNCTION_ARGS)
/**************************************************
- * time ops
+ * GiST support functions
**************************************************/
-
-
Datum
gbt_time_compress(PG_FUNCTION_ARGS)
{
@@ -163,7 +157,6 @@ gbt_time_compress(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(gbt_num_compress(entry, &tinfo));
}
-
Datum
gbt_timetz_compress(PG_FUNCTION_ARGS)
{
@@ -262,7 +255,6 @@ gbt_timetz_consistent(PG_FUNCTION_ARGS)
GIST_LEAF(entry), &tinfo, fcinfo->flinfo));
}
-
Datum
gbt_time_union(PG_FUNCTION_ARGS)
{
@@ -273,7 +265,6 @@ gbt_time_union(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(gbt_num_union(out, entryvec, &tinfo, fcinfo->flinfo));
}
-
Datum
gbt_time_penalty(PG_FUNCTION_ARGS)
{
@@ -313,7 +304,6 @@ gbt_time_penalty(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(result);
}
-
Datum
gbt_time_picksplit(PG_FUNCTION_ARGS)
{