Fixed compilation errors with Postgres 19

This commit is contained in:
Andrew Kane
2025-12-10 14:59:29 -08:00
parent b7c0085afe
commit d72ee71f23
5 changed files with 13 additions and 5 deletions

View File

@@ -549,7 +549,7 @@ InsertTuple(Relation index, Datum *values, bool *isnull, ItemPointer heaptid, Hn
/* Copy the datum */
memcpy(valuePtr, DatumGetPointer(value), valueSize);
HnswPtrStore(base, element->value, valuePtr);
HnswPtrStore(base, element->value, (char *) valuePtr);
/* Create a lock for the element */
LWLockInitialize(&element->lock, hnsw_lock_tranche_id);