diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-12-24 12:37:13 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-12-24 12:44:12 -0300 |
commit | c4dcd9144ba64946c9f9466748bdb2c51719c8a3 (patch) | |
tree | f0c19d717fa5c6a61d5de600d9720234e460041a /src/backend/executor | |
parent | cce64a51cabc1e59d202d95bb0b92ed22bac73cf (diff) | |
download | postgresql-c4dcd9144ba64946c9f9466748bdb2c51719c8a3.tar.gz postgresql-c4dcd9144ba64946c9f9466748bdb2c51719c8a3.zip |
Avoid splitting C string literals with \-newline
Using \ is unnecessary and ugly, so remove that. While at it, stitch
the literals back into a single line: we've long discouraged splitting
error message literals even when they go past the 80 chars line limit,
to improve greppability.
Leave contrib/tablefunc alone.
Discussion: https://postgr.es/m/20191223195156.GA12271@alvherre.pgsql
Diffstat (limited to 'src/backend/executor')
-rw-r--r-- | src/backend/executor/execExprInterp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execExprInterp.c b/src/backend/executor/execExprInterp.c index dbed5978162..034970648f3 100644 --- a/src/backend/executor/execExprInterp.c +++ b/src/backend/executor/execExprInterp.c @@ -2739,8 +2739,8 @@ ExecEvalArrayExpr(ExprState *state, ExprEvalStep *op) if (ndims <= 0 || ndims > MAXDIM) ereport(ERROR, (errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED), - errmsg("number of array dimensions (%d) exceeds " \ - "the maximum allowed (%d)", ndims, MAXDIM))); + errmsg("number of array dimensions (%d) exceeds the maximum allowed (%d)", + ndims, MAXDIM))); elem_dims = (int *) palloc(elem_ndims * sizeof(int)); memcpy(elem_dims, ARR_DIMS(array), elem_ndims * sizeof(int)); |