From 5d2c4883dc67a38e1fab050890eff3feb6b9cdd6 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 29 Jan 2022 23:28:23 -0800 Subject: [PATCH] Fixed undeclared error --- src/ivfbuild.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ivfbuild.c b/src/ivfbuild.c index 046a0a7..e67a4b2 100644 --- a/src/ivfbuild.c +++ b/src/ivfbuild.c @@ -16,6 +16,10 @@ #if PG_VERSION_NUM >= 120000 #include "access/tableam.h" #include "commands/progress.h" +#else +#define PROGRESS_CREATEIDX_SUBPHASE 0 +#define PROGRESS_CREATEIDX_TUPLES_TOTAL 0 +#define PROGRESS_CREATEIDX_TUPLES_DONE 0 #endif #if PG_VERSION_NUM >= 110000