X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 81713D1B1A0 for ; Tue, 22 Jun 2004 11:56:17 -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 96403-04 for ; Tue, 22 Jun 2004 14:56:16 +0000 (GMT) Received: from mailer.ipsoluciones.com (unknown [213.0.106.89]) by svr1.postgresql.org (Postfix) with ESMTP id D88F3D1B34B for ; Tue, 22 Jun 2004 11:56:09 -0300 (ADT) Received: from [192.168.2.140] ([192.168.2.140]) by mailer.ipsoluciones.com (8.12.10/8.12.10) with ESMTP id i5MEsfkv020062 for ; Tue, 22 Jun 2004 16:54:41 +0200 Subject: Unrecognized node type From: Alvaro Sanchez-Mariscal To: pgsql-sql@postgresql.org Content-Type: text/plain; charset=iso-8859-15 Organization: javaHispano Message-Id: <1087916170.2821.23.camel@mariscal> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 22 Jun 2004 16:56:10 +0200 Content-Transfer-Encoding: 8bit X-IPSoluciones-MailScanner-Information: Please contact the ISP for more information X-IPSoluciones-MailScanner: Found to be clean X-IPSoluciones-MailScanner-SpamCheck: no es spam, SpamAssassin (puntuación=-4.9, requerido 5, BAYES_00 -4.90) X-Virus-Scanned: by amavisd-new at hub.org X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char F3 hex) in message header 'X-IPSoluciones-MailScanner-SpamCheck' X-IPSoluciones-MailScanner-SpamCheck: ...am, \n\tSpamAssassin (puntuaci\363n=-4.9, requeri... ^ X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/290 X-Sequence-Number: 18235 Hi: I've to import a DB schema and data from one pgsql to another. The source version is 7.3.4. The destination version is 7.4.2. I've tried to import a dump from pg_dump. Everything goes ok, but at certain point, in the following sentence: CREATE TABLE ca_persona ( ... lssi boolean DEFAULT NULL::boolean, postal boolean DEFAULT NULL::boolean, tele_marketing boolean DEFAULT NULL::boolean, ... ) I get the following error message: "ERROR: unrecognized node type: 656". If I remove those fields, then nothing fails. But I cannot simply change table definition, because then the (J2EE) application doesn't works. The sql must be with NULL::boolean default values. Both source and destination databases have the same encoding (iso-8859-15, "LATIN_9"). Both servers are running on Linux. The same dump have worked correctly in many other machines running Postgres on Windows with Cygwin, with many different versions (7.3.x and 7.4.x). I've tried all the ways of dumping with pg_dump, and using pg_restore in those ways, or loading the sql script from psql, and always fails :-(. Also I've tried with different versions of Postgres, from RPM packages and building from source code, and again always fails :-(. My question is simple: what the h... can I do? :-) Please CC me your replies as I'm not suscribed to this list. Thanks in advance. PS: sorry about my english :-). -- Álvaro Sánchez-Mariscal Arnaiz | Departamento de Comunicación mariscal@javahispano.org | javaHispano javaHispano. Una Comunidad al Servicio de Todos www.javaHispano.org