Re: postmaster.exe vs postgres.exe (was: CVS HEAD busted on Windows?) - Mailing list pgsql-hackers

From Dave Page
Subject Re: postmaster.exe vs postgres.exe (was: CVS HEAD busted on Windows?)
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E401388AFB@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Re: CVS HEAD busted on Windows?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: postmaster.exe vs postgres.exe  (Andrew Dunstan <andrew@dunslane.net>)
Re: postmaster.exe vs postgres.exe (was: CVS HEAD busted on Windows?)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

> -----Original Message-----
> From: Andrew Dunstan [mailto:andrew@dunslane.net]
> Sent: 22 June 2006 14:06
> To: Dave Page
> Cc: Tom Lane; Peter Eisentraut; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] CVS HEAD busted on Windows?
>
>
>
> Dave Page wrote:
>
> >
> >As a sidenote on the postgres/postmaster merge subject
> though - Magnus &
> >I were wondering if Peter's change means we no longer need to ship
> >postmaster.exe and postgres.exe with pgInstaller. Presumably
> we can just
> >use postgres.exe for everything now?
> >
> >
> >
> >
>
> Won't we still need to know if we are called as postmaster or
> postgres?

Unless the 'postmaster' instance starts all it's sub processes with an
additional option to tell them they're children (I haven't looked at the
code yet so I dunno if this is how it's done).

For those that are unaware, because Windows doesn't support symlinks, we
currently ship two copies of the binary. We could save 3.2MB
(uncompressed, 8.1.4) if we could lose one of them.

Regards, Dave.


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: CVS HEAD busted on Windows?
Next
From: David Roussel
Date:
Subject: Re: [PERFORM] Sun Donated a Sun Fire T2000 to the PostgreSQL