From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dann Corbit <DCorbit(at)connx(dot)com> |
Cc: | Jan Wieck <JanWieck(at)Yahoo(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Roadmap for a Win32 port |
Date: | 2002-06-18 01:19:30 |
Message-ID: | 200206180119.g5I1JUG11466@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Dann Corbit wrote:
> > > It will be at least another copy of the postmaster (dot exe).
> >
> > Yea, I just liked the idea of the postmaster binary somehow reporting
> > the postmaster status. Seems it is in a better position to
> > do that than
> > a shell script.
>
> Architectural notion:
> The Postmaster is about 100x bigger than it needs to be.
>
> The Postmaster needs to set up shared memory and launch servers. It
> does not need to know anything about SQL grammar or any of that
> rigamarole.
>
> It could be a 15K executable.
>
> Why not have an itty-bitty Postmaster that does nothing but a spawn or a
> create process to create threaded Postgres instances?
Can't. postmaster/postgres are symlinks to the same file, and we fork()
from postmaster to create backends. All the code has to be in the
postmaster so the fork works.
--
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 | Dann Corbit | 2002-06-18 01:25:48 | Re: Roadmap for a Win32 port |
Previous Message | Dann Corbit | 2002-06-18 01:17:51 | Re: Roadmap for a Win32 port |