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_macaddr.c | |
parent | 82a46cca99fa967cc3c6c2cf55254dd44eebbcfd (diff) | |
download | postgresql-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_macaddr.c')
-rw-r--r-- | contrib/btree_gist/btree_macaddr.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/contrib/btree_gist/btree_macaddr.c b/contrib/btree_gist/btree_macaddr.c index 558cfa2172f..41e693cb2c2 100644 --- a/contrib/btree_gist/btree_macaddr.c +++ b/contrib/btree_gist/btree_macaddr.c @@ -15,9 +15,7 @@ typedef struct char pad[4]; /* make struct size = sizeof(gbtreekey16) */ } macKEY; -/* -** OID ops -*/ +/* GiST support functions */ PG_FUNCTION_INFO_V1(gbt_macad_compress); PG_FUNCTION_INFO_V1(gbt_macad_fetch); PG_FUNCTION_INFO_V1(gbt_macad_union); @@ -88,11 +86,9 @@ static const gbtree_ninfo tinfo = /************************************************** - * macaddr ops + * GiST support functions **************************************************/ - - static uint64 mac_2_uint64(macaddr *m) { @@ -105,8 +101,6 @@ mac_2_uint64(macaddr *m) return res; } - - Datum gbt_macad_compress(PG_FUNCTION_ARGS) { |