- publishing free software manuals
PostgreSQL Reference Manual - Volume 1 - SQL Language Reference
by The PostgreSQL Global Development Group
Paperback (6"x9"), 716 pages
ISBN 0954612027
RRP £32.00 ($49.95)

Sales of this book support the PostgreSQL project! Get a printed copy>>>

6.2 Monetary Types

Note: The money type is deprecated. Use numeric or decimal instead, in combination with the to_char function.

The money type stores a currency amount with a fixed fractional precision; see Table 6-3. Input is accepted in a variety of formats, including integer and floating-point literals, as well as “typical” currency formatting, such as '$1,000.00'. Output is generally in the latter form but depends on the locale.

Table 6-3: Monetary Types
Name Storage Size Description Range
money 4 bytes currency amount -21474836.48 to +21474836.47
ISBN 0954612027PostgreSQL Reference Manual - Volume 1 - SQL Language ReferenceSee the print edition