From aa0b7ddf7002f79dd41205b863cb2b211eed6a79 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 20 Sep 2024 15:19:50 -0700 Subject: [PATCH] Removed code for pg12 [skip ci] --- src/hnswscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hnswscan.c b/src/hnswscan.c index 8818c9e..b269f06 100644 --- a/src/hnswscan.c +++ b/src/hnswscan.c @@ -210,7 +210,7 @@ hnswgettuple(IndexScanDesc scan, ScanDirection dir) UnlockPage(scan->indexRelation, HNSW_SCAN_LOCK, ShareLock); -#if defined(HNSW_MEMORY) && PG_VERSION_NUM >= 130000 +#if defined(HNSW_MEMORY) elog(INFO, "memory: %zu MB", MemoryContextMemAllocated(so->tmpCtx, false) / (1024 * 1024)); #endif