Re: Update - pg_dumpall money problem

From: Hannes Dorbath <light(at)theendofthetunnel(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Update - pg_dumpall money problem
Date: 2005-10-10 11:42:29
Message-ID: didk2h$91e$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

It /MAY/ help to use a newer pg_dump / pg_restore binary with -i option.
Try to dump and restore using 8.1 binaries for example.

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Hannes Dorbath 2005-10-10 11:52:22 Re: Update - pg_dumpall money problem
Previous Message Weber, Johann (ISS Kassel) 2005-10-10 11:41:18 Data and logs on different physical drives - advantage?