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 1FA159DC827 for ; Tue, 21 Mar 2006 16:17:45 -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 56644-02 for ; Tue, 21 Mar 2006 16:17:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from coe.tamu.edu (edsun.coe.tamu.edu [165.91.232.6]) by postgresql.org (Postfix) with ESMTP id A0CE39DC809 for ; Tue, 21 Mar 2006 16:17:42 -0400 (AST) Received: (from root@localhost) by bruner.coe.tamu.edu (8.13.1/8.13.1) id k2LJiQkm025279; Tue, 21 Mar 2006 13:44:26 -0600 Received: from coe.tamu.edu (coe.tamu.edu [165.91.232.6]) by coe.tamu.edu (8.11.7p1+Sun/8.12.11) with ESMTP id k2LKEGB10621; Tue, 21 Mar 2006 14:14:16 -0600 (CST) Date: Tue, 21 Mar 2006 14:14:14 -0600 (CST) From: "Ben K." To: Tom Lane cc: pgsql-admin@postgresql.org Subject: Re: encoding question In-Reply-To: Message-ID: References: <9058.1142898110@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS 0.3.12 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.106 required=5 tests=[AWL=0.106] X-Spam-Score: 0.106 X-Spam-Level: X-Archive-Number: 200603/197 X-Sequence-Number: 20954 I just wanted to add that when I created the same database with -E SQL_ASCII on my linux box, the dump was loaded fine. I created another database without -E and observed the same invalid encoding problem. On the face value this seems to solve the problem at least superficially. I'd like to check the data validity, and the easiest way seems to be to dump the data again from the linux box and compare with the original. Is there a way to compare between any two databases online? (like running a script checking row counts and schema) If I run crc on the concat of all fields in a row, and if the crc matches, would it be reasonably sufficient? Is there a stronger validation method? Thanks. Ben K. Developer http://benix.tamu.edu