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/access/transam/xlog.c | |
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/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index edee0c0f22e..5658971cb3e 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -6135,9 +6135,7 @@ do { \ if ((currValue) < (minValue)) \ ereport(ERROR, \ (errcode(ERRCODE_INVALID_PARAMETER_VALUE), \ - errmsg("hot standby is not possible because " \ - "%s = %d is a lower setting than on the master server " \ - "(its value was %d)", \ + errmsg("hot standby is not possible because %s = %d is a lower setting than on the master server (its value was %d)", \ param_name, \ currValue, \ minValue))); \ |