PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ CreatePrepGeomHash()

static void CreatePrepGeomHash ( void  )
static

Definition at line 214 of file lwgeom_geos_prepared.c.

References mcxt_ptr_hasha(), PREPARED_BACKEND_HASH_SIZE, and PrepGeomHash.

Referenced by PrepGeomCacheBuilder().

215 {
216  HASHCTL ctl;
217 
218  ctl.keysize = sizeof(MemoryContext);
219  ctl.entrysize = sizeof(PrepGeomHashEntry);
220  ctl.hash = mcxt_ptr_hasha;
221 
222  PrepGeomHash = hash_create("PostGIS Prepared Geometry Backend MemoryContext Hash", PREPARED_BACKEND_HASH_SIZE, &ctl, (HASH_ELEM | HASH_FUNCTION));
223 }
#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: