Re: [HACKERS] removing the exec() from doexec()
Maurice Gittens <mgittens@gits.nl>
From: "Maurice Gittens" <mgittens@gits.nl>
To: "Bruce Momjian" <maillist@candle.pha.pa.us>
Cc: <brett@abraxas.scene.com>, <pgsql-hackers@hub.org>
Date: 1998-04-30T06:32:16Z
Lists: pgsql-hackers
-----Original Message----- From: Bruce Momjian <maillist@candle.pha.pa.us> To: maillist <maillist@candle.pha.pa.us> Cc: brett@abraxas.scene.com <brett@abraxas.scene.com>; pgsql-hackers@hub.org <pgsql-hackers@hub.org> Date: donderdag 30 april 1998 10:12 Subject: Re: [HACKERS] removing the exec() from doexec() >> This exec() takes 15% of our startup time. I have wanted it removed for >> many releases now. The only problem is to rip out the code that >> re-attached to shared memory and stuff like that, because you will no >> longer loose the shared memory in the exec(). The IPC code is >> complicated, so good luck. I or others can help if you get stuck. >> > I tried to replace the execs with forks once (an hour or two job). Indeed I got some shared memory initialisations problems. I got distracted before I finished it. Success. With regrads from Maurice.