X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 62A94D1B298 for ; Mon, 19 Jul 2004 09:46:26 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39600-01 for ; Mon, 19 Jul 2004 12:46:23 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id A2A80D1B211 for ; Mon, 19 Jul 2004 09:46:18 -0300 (ADT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BmXXB-0003JZ-00 for ; Mon, 19 Jul 2004 14:46:21 +0200 Received: from secure.openpricer.com ([80.65.224.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Jul 2004 14:46:21 +0200 Received: from xpoinsard by secure.openpricer.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Jul 2004 14:46:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Xavier Poinsard Subject: Re: [ADMIN] Migrate postgres databases from SQL_ASCII to UNICODE Date: Mon, 19 Jul 2004 14:46:18 +0200 Lines: 22 Message-ID: References: <40F98613.1060405@sistemat.com.ar> <16994.1090099096@sss.pgh.pa.us> <40F9B599.6080205@sistemat.com.ar> <28179.1090132144@sss.pgh.pa.us> <40FAD3C8.3080503@sistemat.com.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: secure.openpricer.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040704 Debian/1.7-4 X-Accept-Language: fr-fr, en-us, en In-Reply-To: <40FAD3C8.3080503@sistemat.com.ar> X-Archive: encrypt X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/232 X-Sequence-Number: 10616 Dario V. Fassi a écrit : > > Tom Lane wrote: > >>"Dario V. Fassi" writes: >> >> >>>>SQL_ASCII is not an encoding (it's more like the absence of knowledge >>>>about an encoding). What is the data actually stored as? >>>> >>>> >>>Yes you are right , the original data come from a DB2 with CodePage >>>IBM-850 and was inserted without complains in a Postgres 7.3.6 with >>>SQL_ASCII. >>> >>> >> >>Ugh. You'll have to work out how to convert that codepage to one of the >>encodings that PG supports. Or else add it as a supported encoding >>(I'm not sure how hard that is, but it's not out of the question). >> did you try the recode utility ?