| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
| Cc: | Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: postmaster vs. postgres |
| Date: | 2002-01-09 06:07:34 |
| Message-ID: | 200201090607.g0967Yw21106@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Christopher Kings-Lynne wrote:
> What is the difference between the postmaster binary and the postgres
> binary? Does the postmaster act as nothing more than a multiplexor for
> postgres processes or something?
The binaries are the same -- one is a symlink to the other. This allows
us to fork postgres children of the postmaster with no exec(). The
binary does read argv[0] and behaves differently depending on which
binary name it was called under.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gavin Sherry | 2002-01-09 06:13:04 | Re: postmaster vs. postgres |
| Previous Message | Thomas Swan | 2002-01-09 06:06:02 | Re: Feature Request: DROP ALL FROM DATABASE database_name |