1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Fix pg_dump, and libpq changes.

This commit is contained in:
Bruce Momjian
1997-12-01 22:02:49 +00:00
parent dfc1a6a848
commit b05eddaaab
3 changed files with 8 additions and 6 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.41 1997/12/01 21:01:18 momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.42 1997/12/01 22:02:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1697,7 +1697,7 @@ PQfnumber(PGresult *res, const char *field_name)
*(field_case + strlen(field_case) - 1) = '\0';
}
else
for (i = strlen(field_case[i]); i >= 0; i--)
for (i = strlen(field_case); i >= 0; i--)
if (isupper(field_case[i]))
field_case[i] = tolower(field_case[i]);