summaryrefslogtreecommitdiff
path: root/src/bin/pg_upgrade/pg_upgrade.h
diff options
context:
space:
mode:
authorPeter Eisentraut2017-03-01 16:55:28 +0000
committerPeter Eisentraut2017-03-01 16:55:28 +0000
commit788af6f8541d5f30acec540e4fd3cb24f5347209 (patch)
tree16150f8aa906369c13578922ed33636c530bd529 /src/bin/pg_upgrade/pg_upgrade.h
parentb5a388392dab4c4a7c0fbd6cd0ad7421eabfc5cf (diff)
Move atooid() definition to a central place
Diffstat (limited to 'src/bin/pg_upgrade/pg_upgrade.h')
-rw-r--r--src/bin/pg_upgrade/pg_upgrade.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/pg_upgrade/pg_upgrade.h b/src/bin/pg_upgrade/pg_upgrade.h
index 968ab8a668f..b78b877903d 100644
--- a/src/bin/pg_upgrade/pg_upgrade.h
+++ b/src/bin/pg_upgrade/pg_upgrade.h
@@ -97,8 +97,6 @@ extern char *output_files[];
#define CLUSTER_NAME(cluster) ((cluster) == &old_cluster ? "old" : \
(cluster) == &new_cluster ? "new" : "none")
-#define atooid(x) ((Oid) strtoul((x), NULL, 10))
-
/* OID system catalog preservation added during PG 9.0 development */
#define TABLE_SPACE_SUBDIRS_CAT_VER 201001111
/* postmaster/postgres -b (binary_upgrade) flag added during PG 9.1 development */