diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2000-02-05 12:33:22 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2000-02-05 12:33:22 +0000 |
commit | d4e62e5deda4e067c335736780fbdcfbbd9ce140 (patch) | |
tree | 2edd33a2c48cbac479553ad08e85513e459a5df7 /src/interfaces/libpq/fe-print.c | |
parent | b304b4a90e11db93a564935c41c1fb69df9483ec (diff) |
Change function name PQclientencoding to PQclientEncoding since
it seems more suitable for the naming convention in libpq.
New function PQsetClientEncoding added. It makes possible to change
the client encoding on the fly without setting PGCLIENTENCODING.
Diffstat (limited to 'src/interfaces/libpq/fe-print.c')
-rw-r--r-- | src/interfaces/libpq/fe-print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c index 7c0e655f2a8..e54167cc1fe 100644 --- a/src/interfaces/libpq/fe-print.c +++ b/src/interfaces/libpq/fe-print.c @@ -10,7 +10,7 @@ * didn't really belong there. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.33 2000/01/29 16:58:51 petere Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.34 2000/02/05 12:33:22 ishii Exp $ * *------------------------------------------------------------------------- */ @@ -347,7 +347,7 @@ do_field(const PQprintOpt *po, const PGresult *res, char ch = '0'; #ifdef MULTIBYTE - for (p = pval; *p; p += PQmblen(p, PQclientencoding(res->conn))) + for (p = pval; *p; p += PQmblen(p, PQclientEncoding(res->conn))) #else for (p = pval; *p; p++) #endif |