Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] removing the exec() from doexec()

From: "Maurice Gittens" <mgittens(at)gits(dot)nl>
To: "Bruce Momjian" <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: <brett(at)abraxas(dot)scene(dot)com>, <pgsql-hackers(at)hub(dot)org>
Subject: Re: [HACKERS] removing the exec() from doexec()
Date: 1998-04-30 06:32:16
Message-ID: 005601bd7401$baac8660$ (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
-----Original Message-----
From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: maillist <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: brett(at)abraxas(dot)scene(dot)com <brett(at)abraxas(dot)scene(dot)com>; pgsql-hackers(at)hub(dot)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.


With regrads from Maurice.

pgsql-hackers by date

Next:From: David GouldDate: 1998-04-30 06:32:31
Subject: Re: [HACKERS] Re: [PATCHES] S_LOCK reduced contention through backoff patch
Previous:From: David GouldDate: 1998-04-30 06:28:42
Subject: Re: [HACKERS] text patch -- sugg cmd when run as root

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group