Hi Michael,
Thanks for your response.
All i'm building is In-Memory Index as an extension over Postgres.
Postgres Indexes will get Insert calls and Read calls from various processes(typically client/connection process - forked processes to postmaster process). Hence i have to maintain my In-Memory index in shared memory.
If i create DynamicSharedArea (DSA) in postmaster/main process, all these Client/Connection processes(In-Memory Index Processes) need not attach to that DSA using area handle. Because these are forked processes to postmaster/Main process and hence they automatically gets attached.
Hence i'm trying to create DSA in _PG_init function as it is called by postmaster/main process.
Hope this is clear.
Thanks & Best Regards,
- Mahi