diff --git a/src/bin/pg_dump/common.c b/src/bin/pg_dump/common.c index 458f871e7ab654fec54d2e6a410a756e114ecc9e..bd37ef2a5f57b93d11502bda063e5015a30dc424 100644 --- a/src/bin/pg_dump/common.c +++ b/src/bin/pg_dump/common.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.41 2000/04/12 17:16:14 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.42 2000/05/19 23:00:00 tgl Exp $ * * Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2 * @@ -190,7 +190,7 @@ parseNumericArray(const char *str, char **array, int arraysize) } else { - if (!isdigit(s) || j >= sizeof(temp) - 1) + if (!(isdigit(s) || s == '-') || j >= sizeof(temp) - 1) { fprintf(stderr, "parseNumericArray: bogus number\n"); exit(2);