mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -13,9 +13,7 @@ typedef struct float4key
|
||||
float4 upper;
|
||||
} float4KEY;
|
||||
|
||||
/*
|
||||
** float4 ops
|
||||
*/
|
||||
/* GiST support functions */
|
||||
PG_FUNCTION_INFO_V1(gbt_float4_compress);
|
||||
PG_FUNCTION_INFO_V1(gbt_float4_fetch);
|
||||
PG_FUNCTION_INFO_V1(gbt_float4_union);
|
||||
@ -107,10 +105,9 @@ float4_dist(PG_FUNCTION_ARGS)
|
||||
|
||||
|
||||
/**************************************************
|
||||
* float4 ops
|
||||
* GiST support functions
|
||||
**************************************************/
|
||||
|
||||
|
||||
Datum
|
||||
gbt_float4_compress(PG_FUNCTION_ARGS)
|
||||
{
|
||||
@ -150,7 +147,6 @@ gbt_float4_consistent(PG_FUNCTION_ARGS)
|
||||
fcinfo->flinfo));
|
||||
}
|
||||
|
||||
|
||||
Datum
|
||||
gbt_float4_distance(PG_FUNCTION_ARGS)
|
||||
{
|
||||
@ -168,7 +164,6 @@ gbt_float4_distance(PG_FUNCTION_ARGS)
|
||||
&tinfo, fcinfo->flinfo));
|
||||
}
|
||||
|
||||
|
||||
Datum
|
||||
gbt_float4_union(PG_FUNCTION_ARGS)
|
||||
{
|
||||
@ -179,7 +174,6 @@ gbt_float4_union(PG_FUNCTION_ARGS)
|
||||
PG_RETURN_POINTER(gbt_num_union(out, entryvec, &tinfo, fcinfo->flinfo));
|
||||
}
|
||||
|
||||
|
||||
Datum
|
||||
gbt_float4_penalty(PG_FUNCTION_ARGS)
|
||||
{
|
||||
|
Reference in New Issue
Block a user