aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-print.c
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2002-08-29 07:22:30 +0000
committerTatsuo Ishii <ishii@postgresql.org>2002-08-29 07:22:30 +0000
commited7baeaf4df676489106ab761936cdae9ffb7228 (patch)
tree91908d828af2d2c6e4bd96374d932cec73aaf01d /src/interfaces/libpq/fe-print.c
parent8e80dbb849cc63f6652a5fc645fa4d1e136c3c4c (diff)
downloadpostgresql-ed7baeaf4df676489106ab761936cdae9ffb7228.tar.gz
postgresql-ed7baeaf4df676489106ab761936cdae9ffb7228.zip
Remove #ifdef MULTIBYTE per hackers list discussion.
Diffstat (limited to 'src/interfaces/libpq/fe-print.c')
-rw-r--r--src/interfaces/libpq/fe-print.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c
index 33f370f46f1..baa9700934c 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.45 2002/06/20 20:29:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.46 2002/08/29 07:22:30 ishii Exp $
*
*-------------------------------------------------------------------------
*/
@@ -352,11 +352,7 @@ do_field(const PQprintOpt *po, const PGresult *res,
/* Detect whether field contains non-numeric data */
char ch = '0';
-#ifdef MULTIBYTE
for (p = pval; *p; p += PQmblen(p, res->client_encoding))
-#else
- for (p = pval; *p; p++)
-#endif
{
ch = *p;
if (!((ch >= '0' && ch <= '9') ||