obsolete comments for InitializeMaxBackends

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: obsolete comments for InitializeMaxBackends
Date: 2015-08-06 15:39:45
Message-ID: CA+TgmoZ9Rum4S6bWmKSUcijrKRd26iT+DLqDQKbxSNousdG33Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While hacking today, I realized that a couple of comments related to
InitializeMaxBackends are obsolete. Originally, the number of
background workers was determined just after processing
shared_preload_libraries, but I changed that in commit
6bc8ef0b7f1f1df3998745a66e1790e27424aa0c with the introduction of
max_worker_processes. The attached patch fixes up the comments so
that they no longer offer up an obsolete rationale for what the code
does. Assuming nobody minds, I plan to commit this, and, since the
comments are actually wrong and might confuse someone, back-patch this
change as far as 9.4, where the above-mentioned commit first appeared.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
init-max-backends-comments.patch text/x-diff 1.4 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2015-08-06 15:43:06 Re: Raising our compiler requirements for 9.6
Previous Message Andres Freund 2015-08-06 15:34:50 Re: Raising our compiler requirements for 9.6