PostGIS  2.3.7dev-r@@SVN_REVISION@@
static void CreatePrepGeomHash ( void  )
static

Definition at line 221 of file lwgeom_geos_prepared.c.

References mcxt_ptr_hasha(), PREPARED_BACKEND_HASH_SIZE, and PrepGeomHash.

Referenced by PrepGeomCacheBuilder().

222 {
223  HASHCTL ctl;
224 
225  ctl.keysize = sizeof(MemoryContext);
226  ctl.entrysize = sizeof(PrepGeomHashEntry);
227  ctl.hash = mcxt_ptr_hasha;
228 
229  PrepGeomHash = hash_create("PostGIS Prepared Geometry Backend MemoryContext Hash", PREPARED_BACKEND_HASH_SIZE, &ctl, (HASH_ELEM | HASH_FUNCTION));
230 }
#define PREPARED_BACKEND_HASH_SIZE
uint32 mcxt_ptr_hasha(const void *key, Size keysize)
static HTAB * PrepGeomHash

Here is the call graph for this function:

Here is the caller graph for this function: