Re: type money causes unrestorable dump

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: type money causes unrestorable dump
Дата
Msg-id 200710090231.l992VVv19029@momjian.us
обсуждение исходный текст
Ответ на Re: type money causes unrestorable dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: type money causes unrestorable dump  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > I noticed that if you create a dump on a database containing a money
> > column and a certain locale, this dump is not restorable on a database
> > with a different locale.
> 
> We've been through this, no?  If money doesn't print that way, there's
> no obvious reason to have the type at all.  Use numeric if you don't
> want something with locale-specific behavior.

Added to TODO:

* MONEY dumps in a locale-specific format making it difficult to restore to a system with a different locale

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Use of "postmaster"
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Release Notes Overview