Unrecognized node type - Mailing list pgsql-sql

From Alvaro Sanchez-Mariscal
Subject Unrecognized node type
Date
Msg-id 1087916170.2821.23.camel@mariscal
Whole thread Raw
Responses Re: Unrecognized node type  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
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



pgsql-sql by date:

Previous
From: Michael Kleiser
Date:
Subject: Re: FW: "=" operator vs. "IS"
Next
From: "Alexander M. Pravking"
Date:
Subject: UPDATE ... WHERE (subselect on the same table)