Re: [HACKERS] removing the exec() from doexec() - Mailing list pgsql-hackers

From Maurice Gittens
Subject Re: [HACKERS] removing the exec() from doexec()
Date
Msg-id 005601bd7401$baac8660$d7fb4fc1@caleb..gits.nl
Whole thread Raw
List 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.



pgsql-hackers by date:

Previous
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch
Next
From: "Maurice Gittens"
Date:
Subject: Re: [HACKERS] data compression/encryption