diff options
Diffstat (limited to 'contrib/pg_upgrade/pg_upgrade.h')
| -rw-r--r-- | contrib/pg_upgrade/pg_upgrade.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/pg_upgrade/pg_upgrade.h b/contrib/pg_upgrade/pg_upgrade.h index 7949f367ec9..79a49bc052a 100644 --- a/contrib/pg_upgrade/pg_upgrade.h +++ b/contrib/pg_upgrade/pg_upgrade.h @@ -52,6 +52,8 @@ #define CLUSTERNAME(cluster) ((cluster) == CLUSTER_OLD ? "old" : "new") +#define atooid(x) ((Oid) strtoul((x), NULL, 10)) + /* OID system catalog preservation added during PG 9.0 development */ #define TABLE_SPACE_SUBDIRS 201001111 |
