Re: type money causes unrestorable dump

From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Subject: Re: type money causes unrestorable dump
Date: 2007-10-09 17:16:08
Message-ID: 20071009131608.c80d4d43.darcy@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 9 Oct 2007 19:02:38 +0200
Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> Am Dienstag, 9. Oktober 2007 schrieb D'Arcy J.M. Cain:
> > +    Due to locale changes this type may have problems with dump and
> > +    restore and care should be taken.
>
> With respect, this kind of advice is useless. What are the problems, when do
> they occur, and what should be done about them? We do know the answers to
> all of these questions.

Right. How about this:

...
restore and care should be taken when dumping and reloading from
different locales. To avoid problems always explicitely set your
locale before both a dump and reload and make sure that they are
identical.

--
D'Arcy J.M. Cain <darcy(at)druid(dot)net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-10-09 17:33:33 Re: Skytools committed without hackers discussion/review
Previous Message Bruce Momjian 2007-10-09 17:11:48 Re: Skytools committed without hackers discussion/review