Fixed compilation error with Postgres 18 - fixes #779

This commit is contained in:
Andrew Kane
2025-02-17 16:38:14 -08:00
parent f11e4d7b20
commit 78ed8f1157
2 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,10 @@
#include "storage/lmgr.h" #include "storage/lmgr.h"
#include "utils/memutils.h" #include "utils/memutils.h"
#if PG_VERSION_NUM >= 180000
#define vacuum_delay_point() vacuum_delay_point(false)
#endif
/* /*
* Check if deleted list contains an index TID * Check if deleted list contains an index TID
*/ */

View File

@@ -5,6 +5,10 @@
#include "ivfflat.h" #include "ivfflat.h"
#include "storage/bufmgr.h" #include "storage/bufmgr.h"
#if PG_VERSION_NUM >= 180000
#define vacuum_delay_point() vacuum_delay_point(false)
#endif
/* /*
* Bulk delete tuples from the index * Bulk delete tuples from the index
*/ */