diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-12-01 21:01:24 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-12-01 21:01:24 +0000 |
commit | dfc1a6a848d65f64e76a4bfce66269bdc33a6227 (patch) | |
tree | aed88be9d625c39ce2c02d43de315e6d8860b07c /src/interfaces/libpq/fe-connect.c | |
parent | df823bc42d41fb42ace96352a98246c663b45bce (diff) | |
download | postgresql-dfc1a6a848d65f64e76a4bfce66269bdc33a6227.tar.gz postgresql-dfc1a6a848d65f64e76a4bfce66269bdc33a6227.zip |
Document pg_dump -z, clean up option list. Fix problem with libpq handling of field names uppercase code.
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 8b6648a5eb3..b9562fd6ef8 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.47 1997/11/17 16:42:39 thomas Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.48 1997/12/01 21:01:12 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -430,7 +430,7 @@ PQsetdb(const char *pghost, const char *pgport, const char *pgoptions, const cha *(conn->dbName + strlen(conn->dbName) - 1) = '\0'; } else - for (i = 0; conn->dbName[i]; i++) + for (i = strlen(conn->dbName[i]); i >= 0; i--) if (isupper(conn->dbName[i])) conn->dbName[i] = tolower(conn->dbName[i]); } |