[HACKERS] Shared Memory hash tables only at startup - Mailing list pgsql-hackers

From hariprasath nallasamy
Subject [HACKERS] Shared Memory hash tables only at startup
Date
Msg-id CAGgejVyS2Db0zfZmtAofO8P7G4WMcM1BLQyS5=DfOwLv0WsJqQ@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Shared Memory hash tables only at startup  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [HACKERS] Shared Memory hash tables only at startup  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
Hi
  It is clear that all of the shared memory hash tables are created during startup using ShmemInitHash()
 

(In practice, all creations are done in the postmaster
process; child processes should always be attaching to existing tables.)


Is there any specific reason to do so or my understanding was wrong(we can create shared memory hash table at run time too?)



TIA
 harry

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Regarding B-Tree Lookup
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] logical replication syntax (was DROP SUBSCRIPTION,query cancellations and slot handling)