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

Commitf00e542

Browse files
committed
Remove deprecation notice and add comment about safely restoring backups.
As per discussion on hackers.
1 parent9a48d22 commitf00e542

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎doc/src/sgml/datatype.sgml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp