File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- <!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.211 2007/10/21 20:04:37 tgl Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.212 2007/11/05 12:02:20 darcy Exp $ -->
22
33 <chapter id="datatype">
44 <title id="datatype-title">Data Types</title>
@@ -834,14 +834,6 @@ ALTER SEQUENCE <replaceable class="parameter">tablename</replaceable>_<replaceab
834834 <sect1 id="datatype-money">
835835 <title>Monetary Types</title>
836836
837- <note>
838- <para>
839- The <type>money</type> type is deprecated. Use
840- <type>numeric</type> or <type>decimal</type> instead, in
841- combination with the <function>to_char</function> function.
842- </para>
843- </note>
844-
845837 <para>
846838 The <type>money</type> type stores a currency amount with a fixed
847839 fractional precision; see <xref
@@ -852,6 +844,14 @@ ALTER SEQUENCE <replaceable class="parameter">tablename</replaceable>_<replaceab
852844 Output is generally in the latter form but depends on the locale.
853845 </para>
854846
847+ <para>
848+ Since the output of this data type is locale-sensitive, it may not
849+ work to load <type>money</> data into a database that has a different
850+ setting of <varname>lc_monetary</>. To avoid problems, before
851+ restoring a dump make sure <varname>lc_monetary</> has the same or
852+ equivalent value as in the database that was dumped.
853+ </para>
854+
855855 <table id="datatype-money-table">
856856 <title>Monetary Types</title>
857857 <tgroup cols="4">
You can’t perform that action at this time.
0 commit comments