X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 51EA59DC800 for ; Mon, 19 Dec 2005 06:29:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04920-09 for ; Mon, 19 Dec 2005 06:29:21 -0400 (AST) X-Greylist: delayed 16:40:02.036035 by SQLgrey- Received: from mail.tgds.net (tgds.net [212.100.249.157]) by postgresql.org (Postfix) with ESMTP id E19D09DC80C for ; Mon, 19 Dec 2005 06:29:17 -0400 (AST) Received: from hush.localdomain (localhost [127.0.0.1]) by mail.tgds.net (Postfix) with ESMTP id F00571435F5; Mon, 19 Dec 2005 10:28:23 +0000 (GMT) Subject: Re: upgrading a three year old server From: tony To: Hannes Dorbath Cc: pgsql-admin@postgresql.org In-Reply-To: <43A66D67.3090701@theendofthetunnel.de> References: <1134928154.2847.203.camel@hush.localdomain> <43A66D67.3090701@theendofthetunnel.de> Content-Type: text/plain; charset=ISO-8859-15 Date: Mon, 19 Dec 2005 11:29:18 +0100 Message-Id: <1134988158.2847.220.camel@hush.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/197 X-Sequence-Number: 19917 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