money with 4 digits after dot
Started by Konstantin Izmailovover 13 years ago3 messageshackersgeneral
Stepping through
I'm trying to insert data into Postgres using COPY command. The data
originates from AdventureWorksDW. However, it fails with: "ERROR: invalid
input syntax for type money: "2171.2942" "
Is it possible to import money into Postgres with 4 digits after the dot?
Re: money with 4 digits after dot
Konstantin Izmailov <pgfizm@gmail.com> writes:
Is it possible to import money into Postgres with 4 digits after the dot?
You would need to set lc_monetary to a locale that permits that.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers