↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 6.3
Historical version. PostgreSQL 6.3 has reached end of support. See the current manual.
PostgreSQL
PrevChapter 8. Data TypesNext

Monetary Type

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 8-4. Postgres Numeric Types

Monetary TypeStorageDescriptionRange
money4 bytesFixed-precision-21474836.48 to +21474836.47

The numeric should eventually replace the money type. It has a fully implemented syntax but currently (Postgres v6.3) support only a small range of precision and/or range values and cannot substitute for the money type.


PrevHomeNext
Data TypesUpCharacter Types

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.