4 ms·
Yes, it's a very nice overview of Postgres data types. My only question is: if the "money" type is bad, what should we use instead? The author proposed a new "
by giornogiovanna 7y ago
Yes, it's a very nice overview of Postgres data types.
My only question is: if the "money" type is bad, what should we use instead? The author proposed a new "currency" type, but that doesn't exist yet.
OT: I initially thought that the article would be about function types, which are also called exponential types (hence the pun on "power").
- teddyh 7y agoMy current understanding is that DECIMAL (a.k.a. NUMERIC) is the recommended type for monetary values in PostgreSQL.