Dealing with multiple currencies with the money type?

Поиск
Список
Период
Сортировка
От Simon Connah
Тема Dealing with multiple currencies with the money type?
Дата
Msg-id H6NwMbpHX0JnUKV8NN9e4CYJ3sT2zUGB5MJP9zXWSvnBh1J6VBRjxvGng2hBSM4iqknyr5p-jPBqoPOq_cOzoidn5gHKz4s9F-o1f1eGZdI=@protonmail.com
обсуждение исходный текст
Ответы Re: Dealing with multiple currencies with the money type?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-novice
Hi,

I've read this page:

https://www.postgresql.org/docs/13/datatype-money.html

which seems to suggest that lc_monetary dictates what currency the database uses for the money type. But what if you
wantto have transactions in USD, GBP and EUR from a database with en_GB.UTF8 locale? 

Is this possible?

Simon.
Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Daniel Heath"
Дата:
Сообщение: Re: Prepared statement invalidation
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Dealing with multiple currencies with the money type?