Re: type money causes unrestorable dump - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: type money causes unrestorable dump
Date
Msg-id 200710090242.l992gvD28094@momjian.us
Whole thread Raw
In response to Re: type money causes unrestorable dump  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: type money causes unrestorable dump
List pgsql-hackers
Joshua D. Drake wrote:
-- Start of PGP signed section.
> On Mon, 8 Oct 2007 22:31:31 -0400 (EDT)
> Bruce Momjian <bruce@momjian.us> wrote:
> 
> > 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
> 
> Considering money is deprecated, is this really needed?

We have other MONEY TODO items too.  I am not sure if it is depricated
or in need of major work.

--  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 by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: type money causes unrestorable dump
Next
From: "Joshua D. Drake"
Date:
Subject: Re: type money causes unrestorable dump