Re: Errors upgrading from 7.3 to 8.1

From: "Jim Buttafuoco" <jim(at)contactbda(dot)com>
To: lists(at)benjamindsmith(dot)com, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Errors upgrading from 7.3 to 8.1
Date: 2005-11-29 00:27:05
Message-ID: 20051129002646.M60696@contactbda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

you should use the 8.1 pg_dump not the 7.3 one.

Give it a try

---------- Original Message -----------
From: Benjamin Smith <lists(at)benjamindsmith(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Sent: Mon, 28 Nov 2005 16:22:18 -0800
Subject: [GENERAL] Errors upgrading from 7.3 to 8.1

> Currently running Postgres 7.3.9 32bit on Fedora Core 1, and upgrading to PG
> 8.1 64bit on Centos 4.
>
> When I load the file,
> psql -U dbname < dbname.sql
>
> I get this error:
> ERROR: invalid UTF-8 byte sequence detected near byte 0x96
> when inserting fields that seem to contain HTML. What could be causing this?
> My understanding is that pg_dump should properly escape things so that I'm
> not trying to dump/load things improperly.
>
> The dumps are made (on the PG 7.3 server)
> pg_dump -d -f $OUTPUT.pgsql $db
>
> Are being restore with (on the new 8.1 server)
> psql -U $db -e < $OUTPUT.pgsql
>
> -Ben
> --
> "The best way to predict the future is to invent it."
> - XEROX PARC slogan, circa 1978
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
------- End of Original Message -------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stock, Stuart 2005-11-29 00:39:10 Re: Errors upgrading from 7.3 to 8.1
Previous Message Benjamin Smith 2005-11-29 00:22:18 Errors upgrading from 7.3 to 8.1