diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-04-03 13:39:33 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2025-04-03 13:39:33 +0300 |
commit | 9370978da8ac8f0e31867859282b0f2be724fe48 (patch) | |
tree | 5da91f476e7ba9eee548ee67eeabea80f5f1ded9 /contrib/btree_gist/btree_bool.c | |
parent | 82a46cca99fa967cc3c6c2cf55254dd44eebbcfd (diff) |
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_bool.c')
-rw-r--r-- | contrib/btree_gist/btree_bool.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/contrib/btree_gist/btree_bool.c b/contrib/btree_gist/btree_bool.c index adb724e16ac..d2145d0d0c3 100644 --- a/contrib/btree_gist/btree_bool.c +++ b/contrib/btree_gist/btree_bool.c @@ -12,9 +12,7 @@ typedef struct boolkey bool upper; } boolKEY; -/* -** bool ops -*/ +/* GiST support functions */ PG_FUNCTION_INFO_V1(gbt_bool_compress); PG_FUNCTION_INFO_V1(gbt_bool_fetch); PG_FUNCTION_INFO_V1(gbt_bool_union); @@ -82,10 +80,9 @@ static const gbtree_ninfo tinfo = /************************************************** - * bool ops + * GiST support functions **************************************************/ - Datum gbt_bool_compress(PG_FUNCTION_ARGS) { @@ -124,7 +121,6 @@ gbt_bool_consistent(PG_FUNCTION_ARGS) GIST_LEAF(entry), &tinfo, fcinfo->flinfo)); } - Datum gbt_bool_union(PG_FUNCTION_ARGS) { @@ -135,7 +131,6 @@ gbt_bool_union(PG_FUNCTION_ARGS) PG_RETURN_POINTER(gbt_num_union(out, entryvec, &tinfo, fcinfo->flinfo)); } - Datum gbt_bool_penalty(PG_FUNCTION_ARGS) { |