Typo fix

Started by Amit Langotealmost 10 years ago2 messages
#1Amit Langote
amitlangote09@gmail.com
1 attachment(s)

Attached fixes a typo:

/* the extra unit accounts for the autovacuum launcher */

MaxBackends = MaxConnections + autovacuum_max_workers + 1 +

- +max_worker_processes;

+ max_worker_processes;

Thanks,
Amit

Attachments:

typo.patchapplication/octet-stream; name=typo.patchDownload
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index e22d4db..6b760d4 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -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)
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Amit Langote (#1)
Re: Typo fix

Amit Langote <amitlangote09@gmail.com> writes:

Attached fixes a typo:

Pushed, thanks.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers