PG15: rename pgstat_initstats() -> pgstat_init_relation().

From PG commits bff258a273 and be902e2651.
pull/5920/head
Jeff Davis 2022-04-11 11:39:55 -07:00 committed by jeff-davis
parent 033f9cfff7
commit 33ee4877d4
2 changed files with 2 additions and 1 deletions

View File

@ -917,7 +917,7 @@ try_relation_open_nolock(Oid relationId)
return NULL;
}
pgstat_initstats(relation);
pgstat_init_relation(relation);
return relation;
}

View File

@ -33,6 +33,7 @@ typedef Value String;
#define strtou64(str, endptr, base) ((uint64) strtoull(str, endptr, base))
#endif
#define RelationCreateStorage_compat(a, b, c) RelationCreateStorage(a, b)
#define pgstat_init_relation(r) pgstat_initstats(r)
static inline int64
pg_strtoint64(char *s)