summaryrefslogtreecommitdiff
path: root/contrib/btree_gin
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-01-30 13:42:14 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-01-30 13:42:14 -0300
commitc9d29775195922136c09cc980bb1b7091bf3d859 (patch)
tree2a7ffae1890975a24c18aa92f6dfe5307051492a /contrib/btree_gin
parent4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (diff)
downloadpostgresql-c9d29775195922136c09cc980bb1b7091bf3d859.tar.gz
Clean up newlines following left parentheses
We used to strategically place newlines after some function call left parentheses to make pgindent move the argument list a few chars to the left, so that the whole line would fit under 80 chars. However, pgindent no longer does that, so the newlines just made the code vertically longer for no reason. Remove those newlines, and reflow some of those lines for some extra naturality. Reviewed-by: Michael Paquier, Tom Lane Discussion: https://postgr.es/m/20200129200401.GA6303@alvherre.pgsql
Diffstat (limited to 'contrib/btree_gin')
-rw-r--r--contrib/btree_gin/btree_gin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/btree_gin/btree_gin.c b/contrib/btree_gin/btree_gin.c
index 0ed3d580df..e05b5c60ca 100644
--- a/contrib/btree_gin/btree_gin.c
+++ b/contrib/btree_gin/btree_gin.c
@@ -114,8 +114,7 @@ gin_btree_compare_prefix(FunctionCallInfo fcinfo)
int32 res,
cmp;
- cmp = DatumGetInt32(CallerFInfoFunctionCall2(
- data->typecmp,
+ cmp = DatumGetInt32(CallerFInfoFunctionCall2(data->typecmp,
fcinfo->flinfo,
PG_GET_COLLATION(),
(data->strategy == BTLessStrategyNumber ||
@@ -463,8 +462,7 @@ gin_enum_cmp(PG_FUNCTION_ARGS)
}
else
{
- res = DatumGetInt32(CallerFInfoFunctionCall2(
- enum_cmp,
+ res = DatumGetInt32(CallerFInfoFunctionCall2(enum_cmp,
fcinfo->flinfo,
PG_GET_COLLATION(),
ObjectIdGetDatum(a),