mirror of https://github.com/citusdata/citus.git
PG15: rename pgstat_initstats() -> pgstat_init_relation().
From PG commits bff258a273 and be902e2651.pull/5920/head
parent
033f9cfff7
commit
33ee4877d4
|
@ -917,7 +917,7 @@ try_relation_open_nolock(Oid relationId)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
pgstat_initstats(relation);
|
pgstat_init_relation(relation);
|
||||||
|
|
||||||
return relation;
|
return relation;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ typedef Value String;
|
||||||
#define strtou64(str, endptr, base) ((uint64) strtoull(str, endptr, base))
|
#define strtou64(str, endptr, base) ((uint64) strtoull(str, endptr, base))
|
||||||
#endif
|
#endif
|
||||||
#define RelationCreateStorage_compat(a, b, c) RelationCreateStorage(a, b)
|
#define RelationCreateStorage_compat(a, b, c) RelationCreateStorage(a, b)
|
||||||
|
#define pgstat_init_relation(r) pgstat_initstats(r)
|
||||||
|
|
||||||
static inline int64
|
static inline int64
|
||||||
pg_strtoint64(char *s)
|
pg_strtoint64(char *s)
|
||||||
|
|
Loading…
Reference in New Issue