Re: postmaster.exe vs postgres.exe (was: CVS HEAD busted on Windows?)

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: postmaster.exe vs postgres.exe (was: CVS HEAD busted on Windows?)
Date: 2006-06-22 13:12:55
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E401388AFB@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> -----Original Message-----
> From: Andrew Dunstan [mailto:andrew(at)dunslane(dot)net]
> Sent: 22 June 2006 14:06
> To: Dave Page
> Cc: Tom Lane; Peter Eisentraut; pgsql-hackers(at)postgresql(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-06-22 13:25:49 Re: postmaster.exe vs postgres.exe
Previous Message Andrew Dunstan 2006-06-22 13:05:41 Re: CVS HEAD busted on Windows?