diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2002-08-27 20:16:49 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2002-08-27 20:16:49 +0000 |
commit | 7292131c66db233675bef4767012783a584a2655 (patch) | |
tree | 6bc515529c6687d4665aa94519785b4995a013d2 /src/bin/psql/stringutils.c | |
parent | 7af5ea736f680109de569b00f2c36ea8e0211aea (diff) | |
download | postgresql-7292131c66db233675bef4767012783a584a2655.tar.gz postgresql-7292131c66db233675bef4767012783a584a2655.zip |
Enable locale, so case conversion (identifier processing) and number
formatting (\timing) works correctly. Change "Total time" to "Time"
since there is nothing that "total" refers to. Remove non-multibyte
code.
Diffstat (limited to 'src/bin/psql/stringutils.c')
-rw-r--r-- | src/bin/psql/stringutils.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c index a406c59c8d0..8ff58c46430 100644 --- a/src/bin/psql/stringutils.c +++ b/src/bin/psql/stringutils.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.29 2002/07/02 05:49:18 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.30 2002/08/27 20:16:49 petere Exp $ */ #include "postgres_fe.h" #include "stringutils.h" @@ -52,10 +52,6 @@ strtokx(const char *s, char *start; char *cp = NULL; -#ifndef MULTIBYTE - (void) encoding; /* not used */ -#endif - if (s) { free(storage); @@ -95,11 +91,7 @@ strtokx(const char *s, for (p = start; *p && (*p != *cp || *(p - 1) == escape); -#ifdef MULTIBYTE p += PQmblen(p, encoding) -#else - p++ -#endif ); /* not yet end of string? */ |