Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit94d8a79

Browse files
committed
Powerup defaults for LC_foo GUC variables should match what main.c does.
1 parent6555177 commit94d8a79

File tree

1 file changed

+6
-4
lines changed
  • src/backend/utils/misc

1 file changed

+6
-4
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* command, configuration file, and command line options.
66
* See src/backend/utils/misc/README for more information.
77
*
8-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.93 2002/09/04 20:31:33 momjian Exp $
8+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.94 2002/09/10 16:09:02 tgl Exp $
99
*
1010
* Copyright 2000 by PostgreSQL Global Development Group
1111
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -767,24 +767,26 @@ static struct config_string
767767
PG_KRB_SRVTAB,NULL,NULL
768768
},
769769

770+
/* See main.c about why defaults for LC_foo are not all alike */
771+
770772
{
771773
{"lc_messages",PGC_SUSET},&locale_messages,
772774
"",locale_messages_assign,NULL
773775
},
774776

775777
{
776778
{"lc_monetary",PGC_USERSET},&locale_monetary,
777-
"",locale_monetary_assign,NULL
779+
"C",locale_monetary_assign,NULL
778780
},
779781

780782
{
781783
{"lc_numeric",PGC_USERSET},&locale_numeric,
782-
"",locale_numeric_assign,NULL
784+
"C",locale_numeric_assign,NULL
783785
},
784786

785787
{
786788
{"lc_time",PGC_USERSET},&locale_time,
787-
"",locale_time_assign,NULL
789+
"C",locale_time_assign,NULL
788790
},
789791

790792
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp