diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-29 00:03:19 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-29 00:03:19 +0000 |
| commit | 9c2a7c2269d1ecebd7f83e769bb2640cb82fa0e0 (patch) | |
| tree | f868b45501a84e01215cefb03754bab63e23730b /src/backend/utils/misc/guc.c | |
| parent | 2baf4efe09f65d8e8cac32fb882ab9f0fd601574 (diff) | |
| download | postgresql-9c2a7c2269d1ecebd7f83e769bb2640cb82fa0e0.tar.gz | |
Apply (a somewhat revised version of) Greg Mullane's patch to eliminate
heuristic determination of day vs month in date/time input. Add the
ability to specify that input is interpreted as yy-mm-dd order (which
formerly worked, but only for yy greater than 31). DateStyle's input
component now has the preferred spellings DMY, MDY, or YMD; the older
keywords European and US are now aliases for the first two of these.
Per recent discussions on pgsql-general.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
| -rw-r--r-- | src/backend/utils/misc/guc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index d6ed9ba462..a7eb4f5ed1 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -10,7 +10,7 @@ * Written by Peter Eisentraut <peter_e@gmx.net>. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.143 2003/07/28 19:31:32 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.144 2003/07/29 00:03:18 tgl Exp $ * *-------------------------------------------------------------------- */ @@ -1338,13 +1338,13 @@ static struct config_string ConfigureNamesString[] = { {"DateStyle", PGC_USERSET, CLIENT_CONN_LOCALE, - gettext_noop("The display format for date and time values"), - gettext_noop("As well as the rules for interpreting ambiguous date " - "input values"), + gettext_noop("The display format for date and time values, "), + gettext_noop("as well as the rules for interpreting ambiguous " + "date input values"), GUC_LIST_INPUT | GUC_REPORT }, &datestyle_string, - "ISO, US", assign_datestyle, NULL + "ISO, MDY", assign_datestyle, NULL }, { |
