postgres.git / summary / log / commit / refs
commit 0a20d07ea6558484b51e57cbcab11f97180a3dee
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 3e18215334b..baa9c2f1164 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -456,7 +456,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: 9b69d5c1daeb]