From 635d5cef95f5ece401a6cf92798de060184e1b37 Mon Sep 17 00:00:00 2001 From: naisila Date: Thu, 10 Aug 2023 18:45:12 +0300 Subject: [PATCH] PG16BETA3 citus build --- src/backend/distributed/commands/index.c | 2 +- src/include/pg_version_compat.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/backend/distributed/commands/index.c b/src/backend/distributed/commands/index.c index ae0a939a5..8271cc4f4 100644 --- a/src/backend/distributed/commands/index.c +++ b/src/backend/distributed/commands/index.c @@ -561,7 +561,7 @@ ReindexStmtFindRelationOid(ReindexStmt *reindexStmt, bool missingOk) { relationId = RangeVarGetRelidExtended(reindexStmt->relation, lockmode, (missingOk) ? RVR_MISSING_OK : 0, - RANGE_VAR_TABLE_CALLBACK, NULL); + RangeVarCallbackOwnsTable, NULL); } return relationId; diff --git a/src/include/pg_version_compat.h b/src/include/pg_version_compat.h index 821724cc4..2b0320003 100644 --- a/src/include/pg_version_compat.h +++ b/src/include/pg_version_compat.h @@ -27,8 +27,6 @@ #define float_abs(a) fabs(a) -#define RANGE_VAR_TABLE_CALLBACK RangeVarCallbackMaintainsTable - #define tuplesort_getdatum_compat(a, b, c, d, e, f) tuplesort_getdatum(a, b, c, d, e, f) static inline struct config_generic ** @@ -57,8 +55,6 @@ get_guc_variables_compat(int *gucCount) #include "utils/guc.h" #include "utils/guc_tables.h" -#define RANGE_VAR_TABLE_CALLBACK RangeVarCallbackOwnsTable - #define pg_clean_ascii_compat(a, b) pg_clean_ascii(a) #define RelationPhysicalIdentifier_compat(a) ((a)->rd_node)