Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1E8DCB5DBC4 for ; Tue, 13 Sep 2011 09:47:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 45138-01 for ; Tue, 13 Sep 2011 12:47:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail3.sun.ac.za (mail3.sun.ac.za [146.232.64.13]) by mail.postgresql.org (Postfix) with ESMTP id 9D332B5D91F for ; Tue, 13 Sep 2011 09:47:44 -0300 (ADT) Received: from artikel.sun.ac.za ([146.232.82.145]) by mail3.sun.ac.za with esmtp (Exim 4.69) (envelope-from ) id 1R3SOr-00069l-2a for pgsql-admin@postgresql.org; Tue, 13 Sep 2011 14:47:41 +0200 Received: from js by artikel.sun.ac.za with local (Exim 4.76) (envelope-from ) id 1R3SOq-00083w-SF for pgsql-admin@postgresql.org; Tue, 13 Sep 2011 14:47:40 +0200 Date: Tue, 13 Sep 2011 14:47:40 +0200 From: Johann Spies To: "pgsql-admin@postgresql.org" Subject: Re: Problem restoring a dump Message-ID: <20110913124740.GA30709@sun.ac.za> Mail-Followup-To: Johann Spies , "pgsql-admin@postgresql.org" References: <20110913091831.GA26669@sun.ac.za> <7728C00C-EFC8-401E-A0A5-76A253269C89@2ndquadrant.it> <196cf71cbca8f7fb8505fb2da9469fbe@2ndquadrant.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <196cf71cbca8f7fb8505fb2da9469fbe@2ndquadrant.it> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/80 X-Sequence-Number: 38317 Thanks Giulio and Gabriele, > as Giulio pointed out, it seems like the destination database is in > LATIN1 encoding, rather than UTF8. Could you please confirm this? That was the case. I deleted one of the databases and recreated it with as a UTF-8 encoded database and the import went well. Question: Can I change the encoding system of an existing database? If so, how? Regards Johann -- Johann Spies Telefoon: 021-808 4699 Databestuurder / Data manager Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie Centre for Research on Evaluation, Science and Technology Universiteit Stellenbosch. "For my thoughts are not your thoughts, neither are your ways my ways, saith the LORD. For as the heavens are higher than the earth, so are my ways higher than your ways, and my thoughts than your thoughts." Isaiah 55:8,9