static HTAB *CreatePJHash(void);
static void AddPJHashEntry(MemoryContext mcxt, projPJ projection);
+#if POSTGIS_PGSQL_VERSION < 96
+/** see note on function def why this is useless **/
static projPJ GetPJHashEntry(MemoryContext mcxt);
+#endif
static void DeletePJHashEntry(MemoryContext mcxt);
/* Internal Cache API */
}
}
+/** TODO: May reconsider changing this to return entry as name implies
+ * For now it's useless when we are using built-in context cause
+ * we need the entry for cleanup
+ * */
+#if POSTGIS_PGSQL_VERSION < 96
static projPJ GetPJHashEntry(MemoryContext mcxt)
{
void **key;
return he->projection;
}
-
+#endif
static void DeletePJHashEntry(MemoryContext mcxt)
{