3.6.4 Release

Greg Troxel gdt at lexort.com
Mon Jun 8 07:57:28 PDT 2026


Following up on the HASH_FUNCTION problem:

In

  /usr/pkg/include/postgresql/server/utils/hsearch.h

there is

  /* Flag bits for hash_create; most indicate which parameters are supplied */
  #define HASH_FUNCTION   0x0040  /* Set user defined hash function */

In

  /usr/pkg/include/uthash.h

there is

  #ifndef HASH_FUNCTION
  #define HASH_FUNCTION(keyptr,keylen,hashv) HASH_JEN(keyptr, keylen, hashv)
  #endif


Which explains the build errors.

I have

  postgresql16-server-16.14

which does not seem out-of-spec or at all odd.

I don't understand why others aren't seeing this, even if I haven't
figured out how hsearch.h is included in mvt.c.

It might be via

  postgis/lwgeom_geos_prepared.h:#include "utils/hsearch.h"


More information about the postgis-devel mailing list