RangeVarCallbackOwnsTable was replaced by RangeVarCallbackMaintainsTable

Relevant PG commit:
ecb0fd33720fab91df1207e85704f382f55e1eb7
ecb0fd3372
pg17_kickoff
naisila 2024-07-09 15:41:46 +02:00
parent e33736eacb
commit 4eafd3a51b
No known key found for this signature in database
GPG Key ID: A824BA9862D73E6D
1 changed files with 10 additions and 0 deletions

View File

@ -60,6 +60,16 @@ typedef int ObjectClass;
#define Anum_pg_collation_colliculocale Anum_pg_collation_colllocale
#define Anum_pg_database_daticulocale Anum_pg_database_datlocale
#include "commands/tablecmds.h"
static inline void
RangeVarCallbackOwnsTable(const RangeVar *relation,
Oid relId, Oid oldRelId, void *arg)
{
return RangeVarCallbackMaintainsTable(relation, relId, oldRelId, arg);
}
#endif
#if PG_VERSION_NUM >= PG_VERSION_16