diff --git a/doc/src/sgml/arch-dev.sgml b/doc/src/sgml/arch-dev.sgml index 9ffb8427bf..7883c3cd82 100644 --- a/doc/src/sgml/arch-dev.sgml +++ b/doc/src/sgml/arch-dev.sgml @@ -122,8 +122,9 @@ there is one client process connected to exactly one server process. As we do not know ahead of time how many connections will be made, we have to - use a master process that spawns a new - server process every time a connection is requested. This master + use a supervisor process (also + master process) that spawns a new + server process every time a connection is requested. This supervisor process is called postgres and listens at a specified TCP/IP port for incoming connections. Whenever a request for a connection is detected the postgres diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 1fd4ab723c..331d01b444 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1292,7 +1292,7 @@ default:\ optimal for PostgreSQL. Because of the way that the kernel implements memory overcommit, the kernel might terminate the PostgreSQL postmaster (the - master server process) if the memory demands of either + supervisor server process) if the memory demands of either PostgreSQL or another process cause the system to run out of virtual memory. @@ -1465,7 +1465,7 @@ $ grep Huge /proc/meminfo There are several ways to shut down the database server. You control - the type of shutdown by sending different signals to the master + the type of shutdown by sending different signals to the supervisor postgres process. @@ -1511,7 +1511,7 @@ $ grep Huge /proc/meminfo The server will send SIGQUIT to all child processes and wait for them to terminate. If any do not terminate within 5 seconds, they will be sent SIGKILL. - The master server process exits as soon as all child processes have + The supervisor server process exits as soon as all child processes have exited, without doing normal database shutdown processing. This will lead to recovery (by replaying the WAL log) upon next start-up. This is recommended diff --git a/doc/src/sgml/start.sgml b/doc/src/sgml/start.sgml index 2a47f69079..9bb5c1a6d5 100644 --- a/doc/src/sgml/start.sgml +++ b/doc/src/sgml/start.sgml @@ -113,7 +113,7 @@ From that point on, the client and the new server process communicate without intervention by the original postgres process. Thus, the - master server process is always running, waiting for + supervisor server process is always running, waiting for client connections, whereas client and associated server processes come and go. (All of this is of course invisible to the user. We only mention it here for completeness.)