aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_bit.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2025-04-03 13:39:33 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2025-04-03 13:39:33 +0300
commit9370978da8ac8f0e31867859282b0f2be724fe48 (patch)
tree5da91f476e7ba9eee548ee67eeabea80f5f1ded9 /contrib/btree_gist/btree_bit.c
parent82a46cca99fa967cc3c6c2cf55254dd44eebbcfd (diff)
downloadpostgresql-9370978da8ac8f0e31867859282b0f2be724fe48.tar.gz
postgresql-9370978da8ac8f0e31867859282b0f2be724fe48.zip
Fix boilerplate comments in btree_gist
A few of these were copy-pasted wrong, like the comment "Bytea ops" in btree_numeric.c. Instead of fixing the incorrect ones, replace them all with generic comment "GiST support functions". Also tidy up the inconsistent newlines between various functions while we're at it.
Diffstat (limited to 'contrib/btree_gist/btree_bit.c')
-rw-r--r--contrib/btree_gist/btree_bit.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/contrib/btree_gist/btree_bit.c b/contrib/btree_gist/btree_bit.c
index f346b956fa9..7c71daae6d7 100644
--- a/contrib/btree_gist/btree_bit.c
+++ b/contrib/btree_gist/btree_bit.c
@@ -8,10 +8,7 @@
#include "utils/fmgrprotos.h"
#include "utils/varbit.h"
-
-/*
-** Bit ops
-*/
+/* GiST support functions */
PG_FUNCTION_INFO_V1(gbt_bit_compress);
PG_FUNCTION_INFO_V1(gbt_bit_union);
PG_FUNCTION_INFO_V1(gbt_bit_picksplit);
@@ -121,7 +118,7 @@ static const gbtree_vinfo tinfo =
/**************************************************
- * Bit ops
+ * GiST support functions
**************************************************/
Datum
@@ -161,8 +158,6 @@ gbt_bit_consistent(PG_FUNCTION_ARGS)
PG_RETURN_BOOL(retval);
}
-
-
Datum
gbt_bit_union(PG_FUNCTION_ARGS)
{
@@ -173,7 +168,6 @@ gbt_bit_union(PG_FUNCTION_ARGS)
&tinfo, fcinfo->flinfo));
}
-
Datum
gbt_bit_picksplit(PG_FUNCTION_ARGS)
{
@@ -196,7 +190,6 @@ gbt_bit_same(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(result);
}
-
Datum
gbt_bit_penalty(PG_FUNCTION_ARGS)
{