1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Document pg_dump -z, clean up option list. Fix problem with libpq handling of field names uppercase code.

This commit is contained in:
Bruce Momjian
1997-12-01 21:01:24 +00:00
parent df823bc42d
commit dfc1a6a848
5 changed files with 76 additions and 80 deletions

View File

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