diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2002-04-03 05:39:33 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2002-04-03 05:39:33 +0000 |
commit | 867901db9efbdae05270931daeb92042dc285710 (patch) | |
tree | 3a6541fd7908d5ca085d86fae60827efd8a4c847 /src/backend/utils/adt/formatting.c | |
parent | 3d7755c8e939ab9e8315fea297ee6aadcd6ad656 (diff) | |
download | postgresql-867901db9efbdae05270931daeb92042dc285710.tar.gz postgresql-867901db9efbdae05270931daeb92042dc285710.zip |
Locale support is on by default. The choice of locale is done in initdb
and/or with GUC variables.
Diffstat (limited to 'src/backend/utils/adt/formatting.c')
-rw-r--r-- | src/backend/utils/adt/formatting.c | 12 |
1 files changed, 1 insertions, 11 deletions
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 <ctype.h> #include <sys/time.h> #include <unistd.h> -#ifdef USE_LOCALE #include <locale.h> -#endif #include <math.h> #include <float.h> @@ -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 } /* ---------- |