aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/logicalfuncs.c
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 /src/backend/replication/logical/logicalfuncs.c
parent4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (diff)
downloadpostgresql-c9d29775195922136c09cc980bb1b7091bf3d859.tar.gz
postgresql-c9d29775195922136c09cc980bb1b7091bf3d859.zip
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 'src/backend/replication/logical/logicalfuncs.c')
-rw-r--r--src/backend/replication/logical/logicalfuncs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/replication/logical/logicalfuncs.c b/src/backend/replication/logical/logicalfuncs.c
index 8095ae4cb1e..2bba2b4f24d 100644
--- a/src/backend/replication/logical/logicalfuncs.c
+++ b/src/backend/replication/logical/logicalfuncs.c
@@ -90,8 +90,7 @@ LogicalOutputWrite(LogicalDecodingContext *ctx, XLogRecPtr lsn, TransactionId xi
false));
/* ick, but cstring_to_text_with_len works for bytea perfectly fine */
- values[2] = PointerGetDatum(
- cstring_to_text_with_len(ctx->out->data, ctx->out->len));
+ values[2] = PointerGetDatum(cstring_to_text_with_len(ctx->out->data, ctx->out->len));
tuplestore_putvalues(p->tupstore, p->tupdesc, values, nulls);
p->returned_rows++;