diff options
| author | Alvaro Herrera | 2020-01-30 16:32:04 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2020-01-30 16:32:04 +0000 |
| commit | 4e89c79a52f8a898edd648b56a00f0f4f840cfe7 (patch) | |
| tree | ba259edb0559281eaf0953d6995781b264a1aec7 /src/backend/commands/subscriptioncmds.c | |
| parent | 2520cf8c2a0a1d679094dffbd99871884e620ed5 (diff) | |
Remove excess parens in ereport() calls
Cosmetic cleanup, not worth backpatching.
Discussion: https://postgr.es/m/[email protected]
Reviewed-by: Tom Lane, Michael Paquier
Diffstat (limited to 'src/backend/commands/subscriptioncmds.c')
| -rw-r--r-- | src/backend/commands/subscriptioncmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index 9bfe142adaa..119a9ce76ff 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.c @@ -347,7 +347,7 @@ CreateSubscription(CreateSubscriptionStmt *stmt, bool isTopLevel) if (!superuser()) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_PRIVILEGE), - (errmsg("must be superuser to create subscriptions")))); + errmsg("must be superuser to create subscriptions"))); /* * If built with appropriate switch, whine when regression-testing |
