From 7292131c66db233675bef4767012783a584a2655 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 27 Aug 2002 20:16:49 +0000 Subject: 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. --- src/bin/psql/stringutils.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/bin/psql/stringutils.c') 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? */ -- cgit v1.2.3