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

In pg_upgrade, properly handle oids > 2^31 by using strtoul() internally

rather than atol().

Per report from Brian Hirt
This commit is contained in:
Bruce Momjian
2010-09-28 21:41:03 +00:00
parent 0364ab8b26
commit ddfa48776c
5 changed files with 35 additions and 21 deletions

View File

@ -376,6 +376,8 @@ char *pg_strdup(migratorContext *ctx, const char *s);
void *pg_malloc(migratorContext *ctx, int size);
void pg_free(void *ptr);
const char *getErrorText(int errNum);
unsigned int str2uint(const char *str);
/* version.c */