Fwd: multiple process of PostgreSQL running on the same port and same directory - Mailing list pgsql-admin

From aven pan
Subject Fwd: multiple process of PostgreSQL running on the same port and same directory
Date
Msg-id CAKAKoqde8jZVzvCvkNsgDsKQmd9ERwaw9jWsJ+h1YOqnW050Dg@mail.gmail.com
Whole thread Raw
List pgsql-admin
This is the processes I catched:

postgres 5260 0.0 0.0 1224332 37232 ? S Jul13 0:13 \
/opt/pg94/bin/postgres -D /export/pg940_data

postgres 31193 0.0 0.0 1224332 976 ? Ss 00:20 0:00 \
/opt/pg94/bin/postgres -D /export/pg940_data

I found the similar question: ps output shows multiple instances of PostgreSQL running on the same port , but I wanna konw when to fork a postmaster process, and what does it do.

PostgreSQL version:
postgres=# select version();
                                                   version                                                   
--------------------------------------------------------------------------------------------------------------
 PostgreSQL 9.4.4 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3), 64-bit
(1 row)

Thanks.

pgsql-admin by date:

Previous
From: evgenyfr
Date:
Subject: Re: psql on Linux vs Windows, major GSS differences
Next
From: wenhang.pan
Date:
Subject: multiple process of PostgreSQL running on the same port and same directory