diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-19 18:08:16 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-05-19 18:08:16 +0000 |
commit | 07a560673515e6de19010d89549cefdf7544bd63 (patch) | |
tree | 4a6a589d991d13078adbe463e01bdb800ebdac38 /doc/src | |
parent | 63e98b55f04004423852fa1e1730761074c412db (diff) | |
download | postgresql-07a560673515e6de19010d89549cefdf7544bd63.tar.gz postgresql-07a560673515e6de19010d89549cefdf7544bd63.zip |
Make to_char()'s localized month/day names depend on LC_TIME, not LC_MESSAGES.
Euler Taveira de Oliveira
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 8 | ||||
-rw-r--r-- | doc/src/sgml/func.sgml | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 1961d28893a..490e3ab0049 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.178 2008/05/15 00:17:39 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.179 2008/05/19 18:08:15 tgl Exp $ --> <chapter Id="runtime-config"> <title>Server Configuration</title> @@ -4184,9 +4184,9 @@ SET XML OPTION { DOCUMENT | CONTENT }; </indexterm> <listitem> <para> - Sets the locale to use for formatting date and time values. - (Currently, this setting does nothing, but it might in the - future.) Acceptable values are system-dependent; see <xref + Sets the locale to use for formatting dates and times, for example + with the <function>to_char</function> family of + functions. Acceptable values are system-dependent; see <xref linkend="locale"> for more information. If this variable is set to the empty string (which is the default) then the value is inherited from the execution environment of the server in a diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index d168891d4e7..48cb4f6c2b6 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.436 2008/05/04 23:19:23 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.437 2008/05/19 18:08:15 tgl Exp $ --> <chapter id="functions"> <title>Functions and Operators</title> @@ -5079,7 +5079,8 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); </row> <row> <entry><literal>TM</literal> prefix</entry> - <entry>translation mode (print localized day and month names based on <varname>lc_messages</>)</entry> + <entry>translation mode (print localized day and month names based on + <xref linkend="guc-lc-time">)</entry> <entry><literal>TMMonth</literal></entry> </row> <row> |