From d4e62e5deda4e067c335736780fbdcfbbd9ce140 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Sat, 5 Feb 2000 12:33:22 +0000 Subject: 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. --- src/interfaces/libpq/fe-print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/libpq/fe-print.c') 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 -- cgit v1.2.3