pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tony <tony@tgds.net>
To: Hannes Dorbath <light@theendofthetunnel.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: upgrading a three year old server
Date: Mon, 19 Dec 2005 11:29:18 +0100
Message-ID: <1134988158.2847.220.camel@hush.localdomain> (raw)
In-Reply-To: <43A66D67.3090701@theendofthetunnel.de>
References: <1134928154.2847.203.camel@hush.localdomain>
	<43A66D67.3090701@theendofthetunnel.de>

Le lundi 19 décembre 2005 à 09:20 +0100, Hannes Dorbath a écrit :
> On 18.12.2005 18:49, tony wrote:
> > createdb xxx -E LATIN1 <- old version had this encoding (intranet server
> > dates from 2000 upgrade to 7.2 done in 2002)
> > psql -d xxxx -U postgres -f xxxx.out.1 <- this being my daily dump
> 
> Hm, there have been no error messages from psql during the import?

OK I have run a vacuum on the database and that fixed the invisible
tuples. 

> > The data is there (read using nedit on the dump file) but not being read by either of the interfaces I usually use for basic data control.
> 
> You mean the data is in the dump file, but the restore failed?

Restore succeeded but there were error messages about encoding (see
below).

> > And my JSP webapp is choking on the French accents.
> 
> Are you sure about the LATIN1 encoding of your old dump? :)

Two apps out of three work OK now that I have vacuumed. The third one
has encoding problems.

Can I change the encoding to UTF-8 easily?

Thanks

Tony

-- 
Tony Grant
www.tgds.net - vente d'ordinateurs mini-itx en ligne
www.tgds.net/epiaix1.html - A fedora Core 4 based live CD for VIA Epia-M




view thread (6+ messages)  latest in thread

Message-ID: <1134988158.2847.220.camel@hush.localdomain>
Permalink:  ../1134988158.2847.220.camel@hush.localdomain/
Also on:    postgresql.org/message-id/1134988158.2847.220.camel@hush.localdomain

 · 

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: tony@tgds.net, light@theendofthetunnel.de
  Subject: Re: upgrading a three year old server
  In-Reply-To: <1134988158.2847.220.camel@hush.localdomain>
  References: <1134928154.2847.203.camel@hush.localdomain> <43A66D67.3090701@theendofthetunnel.de> <1134988158.2847.220.camel@hush.localdomain>

* 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