Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/compat/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,23 @@ RestrictSearchPath(void)
0,
false);
}

/*
* murmurhash64 was added to common/hashfn.h in PG17 (954e43564d9).
*/
static inline uint64
murmurhash64(uint64 data)
{
uint64 h = data;

h ^= h >> 33;
h *= 0xff51afd7ed558ccd;
h ^= h >> 33;
h *= 0xc4ceb9fe1a85ec53;
h ^= h >> 33;

return h;
}
#endif

#if PG17_LT
Expand Down
Loading
Loading