summaryrefslogtreecommitdiff
path: root/contrib/intarray
diff options
context:
space:
mode:
authorAlvaro Herrera2020-01-30 16:42:14 +0000
committerAlvaro Herrera2020-01-30 16:42:14 +0000
commitc9d29775195922136c09cc980bb1b7091bf3d859 (patch)
tree2a7ffae1890975a24c18aa92f6dfe5307051492a /contrib/intarray
parent4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (diff)
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/intarray')
-rw-r--r--contrib/intarray/_int_op.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/intarray/_int_op.c b/contrib/intarray/_int_op.c
index 0e3dcb467f6..5b164f6788f 100644
--- a/contrib/intarray/_int_op.c
+++ b/contrib/intarray/_int_op.c
@@ -45,13 +45,9 @@ _int_contains(PG_FUNCTION_ARGS)
Datum
_int_different(PG_FUNCTION_ARGS)
{
- PG_RETURN_BOOL(!DatumGetBool(
- DirectFunctionCall2(
- _int_same,
+ PG_RETURN_BOOL(!DatumGetBool(DirectFunctionCall2(_int_same,
PointerGetDatum(PG_GETARG_POINTER(0)),
- PointerGetDatum(PG_GETARG_POINTER(1))
- )
- ));
+ PointerGetDatum(PG_GETARG_POINTER(1)))));
}
Datum