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)