pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannes Dorbath <light@theendofthetunnel.de>
To: pgsql-admin@postgresql.org
Subject: Re: Update - pg_dumpall money problem
Date: Mon, 10 Oct 2005 13:52:22 +0200
Message-ID: <didkl1$1ak6$1@news.hub.org> (raw)
In-Reply-To: <200510101225.27874.gary.stainburn@ringways.co.uk>
References: <200510101225.27874.gary.stainburn@ringways.co.uk>

..and I guess using custom format (-F c -Z 9) might be saver, because a 
newer pg_restore binary then might have a chance to correct things, 
depending on the server version it is used against.

On 10.10.2005 13:25, Gary Stainburn wrote:
> I'm trying to move an existing setup on a 7.2 system to another existing 
> box running 7.4.  
> 
> I've done a pg_dumpall and then imported that to the new system but a 
> copy is failing with the following:
> 
> psql:/backups/eddie_pg_dumpall.sql:3076: ERROR:  invalid input syntax 
> for type money: "£3.18"
> CONTEXT:  COPY invoices, line 1, column net: "£3.18"
> 
> I asume that this is because 7.2 includes the currency sign, and 7.4 
> doesn't like it.
> 
> How do I sptop 7.2 including it, or make 7.4 allow it?


-- 
Regards,
Hannes Dorbath



view thread (4+ messages)  latest in thread

Message-ID: <didkl1$1ak6$1@news.hub.org>
Permalink:  ../didkl1$1ak6$1@news.hub.org/
Also on:    postgresql.org/message-id/didkl1$1ak6$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: light@theendofthetunnel.de
  Subject: Re: Update - pg_dumpall money problem
  In-Reply-To: <didkl1$1ak6$1@news.hub.org>
  References: <200510101225.27874.gary.stainburn@ringways.co.uk> <didkl1$1ak6$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox