pgvector.git / summary / log / commit / refs
commit 5d2c4883dc67a38e1fab050890eff3feb6b9cdd6
Author: Andrew Kane <andrew@ankane.org>
Date: Sun Jan 30 07:28:23 2022 +0000
Fixed undeclared error
src/ivfbuild.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/ivfbuild.c b/src/ivfbuild.c
index 046a0a78..e67a4b29 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
[parent: fc1de9806aed]