]> granicus.if.org Git - postgresql/commitdiff
Remove useless unary plus.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Feb 2016 15:48:40 +0000 (10:48 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Feb 2016 15:48:40 +0000 (10:48 -0500)
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

index e22d4db2d64701eb46eff9c0e5de7ee55d8dd0be..6b760d4265b5e6085dea0b839c13f7e5914ada00 100644 (file)
@@ -498,7 +498,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)