why do shmem attach? - Mailing list pgsql-hackers

From Vadim Mikheev
Subject why do shmem attach?
Date
Msg-id 37E5AB7D.F8EA85D4@krs.ru
Whole thread Raw
Responses Re: [HACKERS] why do shmem attach?
Re: [HACKERS] why do shmem attach?
List pgsql-hackers
Exec-on-startup was removed by Bruce long time ago.
Why we still attach to shmem after fork?
Or shmem inheritance is not portable?
Also, all this ShmemIndex stuff seems to be useless
(except of backend PID lookup but it's for sure
should be in separate hash table).
And why separate shmem segment (!!!) is used for 
Slocks (ipc.c:CreateAndInitSLockMemory(), etc) - they
use so small amount of memory!

Just wondering...
I'm going to use old shmem init code for WAL but would like
to denote that shmem stuff need in cleanup.

Vadim


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: INSERT/DEFAULT VALUES broken?
Next
From: Michael Robinson
Date:
Subject: Re: [HACKERS] All things equal, we are still alot slower then MySQL?