1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Use macro atooid() for conversion of strings to oids, per suggestion

from Tom.
This commit is contained in:
Bruce Momjian
2010-09-28 22:11:21 +00:00
parent ddfa48776c
commit b757f18f2f
3 changed files with 8 additions and 6 deletions

View File

@ -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