This page in other versions: Unsupported versions: 7.0

Monetary Type

Obsolete Type: The money is now deprecated. Use numeric or decimal instead. The money type may become a locale-aware layer over the numeric type in a future release.

The money type supports US-style currency with fixed decimal point representation. If Postgres is compiled with USE_LOCALE then the money type should use the monetary conventions defined for locale(7).

Table 3-4. Postgres Monetary Types

Monetary Type Storage Description Range
money 4 bytes Fixed-precision -21474836.48 to +21474836.47

numeric will replace the money type, and should be preferred.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group