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:
@ -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]);
|
||||
|
||||
|
Reference in New Issue
Block a user