postgres.git / summary / log / commit / refs
commit 28d65f99e21429b7138d8dddcc2b6217ae0e6763
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Feb 29 15:48:40 2016 +0000
First released in: 9.6.0, 9.4.7, 9.5.2
Remove useless unary plus.
It's harmless, but might confuse readers. Seems to have been introduced
in 6bc8ef0b7f1f1df3. Back-patch, just to avoid cosmetic cross-branch
differences.
Amit Langote
src/backend/utils/init/postinit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index c172d3a30e9..5dba5d2a5ba 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -485,7 +485,7 @@ InitializeMaxBackends(void)
/* the extra unit accounts for the autovacuum launcher */
MaxBackends = MaxConnections + autovacuum_max_workers + 1 +
- +max_worker_processes;
+ max_worker_processes;
/* internal error because the values were all checked previously */
if (MaxBackends > MAX_BACKENDS)
[parent: f1dfcf63d9f0]