From 867901db9efbdae05270931daeb92042dc285710 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 3 Apr 2002 05:39:33 +0000 Subject: Locale support is on by default. The choice of locale is done in initdb and/or with GUC variables. --- src/backend/utils/adt/formatting.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/backend/utils/adt/formatting.c') diff --git a/src/backend/utils/adt/formatting.c b/src/backend/utils/adt/formatting.c index 199630e0cc4..231bad2ca6d 100644 --- a/src/backend/utils/adt/formatting.c +++ b/src/backend/utils/adt/formatting.c @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------- * formatting.c * - * $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.51 2002/03/06 06:10:12 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.52 2002/04/03 05:39:29 petere Exp $ * * * Portions Copyright (c) 1999-2000, PostgreSQL Global Development Group @@ -72,9 +72,7 @@ #include #include #include -#ifdef USE_LOCALE #include -#endif #include #include @@ -3380,9 +3378,6 @@ int_to_roman(int number) static void NUM_prepare_locale(NUMProc *Np) { - -#ifdef USE_LOCALE - if (Np->Num->need_locale) { @@ -3436,8 +3431,6 @@ NUM_prepare_locale(NUMProc *Np) } else { -#endif - /* * Default values */ @@ -3446,10 +3439,7 @@ NUM_prepare_locale(NUMProc *Np) Np->decimal = "."; Np->L_thousands_sep = ","; Np->L_currency_symbol = " "; - -#ifdef USE_LOCALE } -#endif } /* ---------- -- cgit v1.2.3