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

Поиск
Список
Период
Сортировка
Искать
От
Brett McCormick
Тема
Re: [HACKERS] removing the exec() from doexec()
Дата
Msg-id
13639.56109.203807.876765@abraxas.scene.com
Ответ на
Список
Дерево обсуждения
Re: [HACKERS] removing the exec() from doexec() Brett McCormick <brett@work.chicken.org>
Re: [HACKERS] removing the exec() from doexec() Bruce Momjian <maillist@candle.pha.pa.us>
On Wed, 29 April 1998, at 21:53:36, Bruce Momjian wrote:

> > 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.
> > 
> 
> Another item is to no longer use SYSV shared memory but use
> mmap(MAP_ANON) because this allows a much larger amount of shared memory
> to be used.

What are the portability issues?  I haven't written much portable
code, and certainly not with IPC.
В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Bruce Momjian
Дата:
FAQ