Skip site navigation (1) Skip section navigation (2)

Unrecognized node type

From: Alvaro Sanchez-Mariscal <mariscal(at)javahispano(dot)org>
To: pgsql-sql(at)postgresql(dot)org
Subject: Unrecognized node type
Date: 2004-06-22 14:56:10
Message-ID: 1087916170.2821.23.camel@mariscal (view raw, whole thread or download thread mbox)
Lists: pgsql-sql

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

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

PS: sorry about my english :-).

Álvaro Sánchez-Mariscal Arnaiz  | Departamento de Comunicación
   mariscal(at)javahispano(dot)org     |         javaHispano

      javaHispano. Una Comunidad al Servicio de Todos


pgsql-sql by date

Next:From: Matthew NuzumDate: 2004-06-22 16:34:35
Subject: matching rows differing only by fkey,pkey
Previous:From: Phil EndecottDate: 2004-06-22 14:05:20
Subject: Re: plpgsql - Insert from a record variable?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group