Unrecognized node type

Поиск
Список
Период
Сортировка
От Alvaro Sanchez-Mariscal
Тема Unrecognized node type
Дата
Msg-id 1087916170.2821.23.camel@mariscal
обсуждение исходный текст
Ответы Re: Unrecognized node type
Список 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 по дате отправления:

Предыдущее
От: Michael Kleiser
Дата:
Сообщение: Re: FW: "=" operator vs. "IS"
Следующее
От: "Alexander M. Pravking"
Дата:
Сообщение: UPDATE ... WHERE (subselect on the same table)