mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Locale support is on by default. The choice of locale is done in initdb
and/or with GUC variables.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* Support for grand unified configuration scheme, including SET
|
||||
* command, configuration file, and command line options.
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.64 2002/04/01 03:34:26 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.65 2002/04/03 05:39:32 petere Exp $
|
||||
*
|
||||
* Copyright 2000 by PostgreSQL Global Development Group
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
@ -41,6 +41,7 @@
|
||||
#include "utils/builtins.h"
|
||||
#include "utils/datetime.h"
|
||||
#include "utils/elog.h"
|
||||
#include "utils/pg_locale.h"
|
||||
#include "pgstat.h"
|
||||
|
||||
|
||||
@ -585,6 +586,26 @@ static struct config_string
|
||||
PG_KRB_SRVTAB, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
"lc_messages", PGC_POSTMASTER, PGC_S_DEFAULT, &locale_messages,
|
||||
"", locale_messages_check, locale_messages_assign
|
||||
},
|
||||
|
||||
{
|
||||
"lc_monetary", PGC_POSTMASTER, PGC_S_DEFAULT, &locale_monetary,
|
||||
"", locale_monetary_check, locale_monetary_assign
|
||||
},
|
||||
|
||||
{
|
||||
"lc_numeric", PGC_POSTMASTER, PGC_S_DEFAULT, &locale_numeric,
|
||||
"", locale_numeric_check, locale_numeric_assign
|
||||
},
|
||||
|
||||
{
|
||||
"lc_time", PGC_POSTMASTER, PGC_S_DEFAULT, &locale_time,
|
||||
"", locale_time_check, locale_time_assign
|
||||
},
|
||||
|
||||
{
|
||||
"server_min_messages", PGC_USERSET, PGC_S_DEFAULT, &server_min_messages_str,
|
||||
server_min_messages_str_default, check_server_min_messages,
|
||||
|
Reference in New Issue
Block a user