diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-01-30 13:32:04 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-01-30 13:32:04 -0300 |
commit | 4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (patch) | |
tree | ba259edb0559281eaf0953d6995781b264a1aec7 /src/backend/utils/adt/pg_upgrade_support.c | |
parent | 2520cf8c2a0a1d679094dffbd99871884e620ed5 (diff) | |
download | postgresql-4e89c79a52f8a898edd648b56a00f0f4f840cfe7.tar.gz postgresql-4e89c79a52f8a898edd648b56a00f0f4f840cfe7.zip |
Remove excess parens in ereport() calls
Cosmetic cleanup, not worth backpatching.
Discussion: https://postgr.es/m/20200129200401.GA6303@alvherre.pgsql
Reviewed-by: Tom Lane, Michael Paquier
Diffstat (limited to 'src/backend/utils/adt/pg_upgrade_support.c')
-rw-r--r-- | src/backend/utils/adt/pg_upgrade_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/pg_upgrade_support.c b/src/backend/utils/adt/pg_upgrade_support.c index 8b26e1a93df..0d9e55cdcf4 100644 --- a/src/backend/utils/adt/pg_upgrade_support.c +++ b/src/backend/utils/adt/pg_upgrade_support.c @@ -26,7 +26,7 @@ do { \ if (!IsBinaryUpgrade) \ ereport(ERROR, \ (errcode(ERRCODE_CANT_CHANGE_RUNTIME_PARAM), \ - (errmsg("function can only be called when server is in binary upgrade mode")))); \ + errmsg("function can only be called when server is in binary upgrade mode"))); \ } while (0) Datum |