Impossible to import pg_dumpall from 7.2.2 to 7.3b1

From: Hervé Piedvache <herve(at)elma(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Impossible to import pg_dumpall from 7.2.2 to 7.3b1
Date: 2002-09-07 19:03:47
Message-ID: 1031425427.3d7a4d9340c2e@horde.elma.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

This is my configuration :
template1=# select version();
version
---------------------------------------------------------------
PostgreSQL 7.3b1 on i686-pc-linux-gnu, compiled by GCC 2.95.4
(1 row)

128 Mb of RAM with a PIII933
Linux debian woody

As usual I have done like explain is the doc ...
pg_dumpall of my 7.2.2 database ...

But when I try to import it inside 7.3b1 I get this :
(seems that the copy command is not fully compatible with the 7.2.2
pg_dumpall ?)

Many thinks like this : (I have only copied some parts ...)
Size of the dump about 1.5 Gb ...

Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015274: invalid command \nPour
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015274: invalid command \n<b>
psql:/tmp/dump_mybase.txt:1015274: invalid command \N
psql:/tmp/dump_mybase.txt:1015274: invalid command \N
psql:/tmp/dump_mybase.txt:1015274: invalid command \N
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015275: invalid command \nLa
psql:/tmp/dump_mybase.txt:1015275: invalid command \N
psql:/tmp/dump_mybase.txt:1015275: invalid command \N
psql:/tmp/dump_mybase.txt:1015275: invalid command \N
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015276: invalid command \nLa
psql:/tmp/dump_mybase.txt:1015276: invalid command \N
psql:/tmp/dump_mybase.txt:1015276: invalid command \N
psql:/tmp/dump_mybase.txt:1015276: invalid command \N
psql:/tmp/dump_mybase.txt:1015277: ERROR: parser: parse error at or near
"1038" at character 1
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015277: invalid command \n
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015277: invalid command \n*
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015277: invalid command \n
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015277: invalid command \n
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015277: invalid command \n
psql:/tmp/dump_mybase.txt:1015277: invalid command \N
psql:/tmp/dump_mybase.txt:1015277: invalid command \N
psql:/tmp/dump_mybase.txt:1015277: invalid command \N
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015278: invalid command \n<STRONG>Cette
psql:/tmp/dump_mybase.txt:1015278: invalid command \N
psql:/tmp/dump_mybase.txt:1015278: invalid command \N
psql:/tmp/dump_mybase.txt:1015278: invalid command \N
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015279: invalid command \n
psql:/tmp/dump_mybase.txt:1015279: invalid command \N
psql:/tmp/dump_mybase.txt:1015279: invalid command \N
psql:/tmp/dump_mybase.txt:1015279: invalid command \N
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015280: invalid command \n<b>Attention
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015280: invalid command \n2.
psql:/tmp/dump_mybase.txt:1015280: invalid command \N
psql:/tmp/dump_mybase.txt:1015280: invalid command \N
psql:/tmp/dump_mybase.txt:1015280: invalid command \N
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015281: invalid command \nInterdit
psql:/tmp/dump_mybase.txt:1015281: invalid command \N
psql:/tmp/dump_mybase.txt:1015281: invalid command \N
psql:/tmp/dump_mybase.txt:1015281: invalid command \N
Query buffer reset (cleared).
psql:/tmp/dump_mybase.txt:1015286: invalid command \nClip
psql:/tmp/dump_mybase.txt:1015286: invalid command \N
psql:/tmp/dump_mybase.txt:1015286: invalid command \N
psql:/tmp/dump_mybase.txt:1015286: invalid command \N
psql:/tmp/dump_mybase.txt:1015287: invalid command \.

Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.
Showing on tuples.
Tuples only is off.

psql:dump_mybase.txt:2736773: invalid command \N
psql:dump_mybase.txt:2736774: ERROR: parser: parse error at or near "9" at
character 1
psql:dump_mybase.txt:2736774: ERROR: parser: parse error at or near
"4405004" at character 1
psql:dump_mybase.txt:2736774: ERROR: parser: parse error at or near
"7327180" at character 1
psql:dump_mybase.txt:2736774: invalid command \N
psql:dump_mybase.txt:2736774: invalid command \N
psql:dump_mybase.txt:2736775: invalid command \N
psql:dump_mybase.txt:2736775: invalid command \N
psql:dump_mybase.txt:2736776: invalid command \N
psql:dump_mybase.txt:2736776: invalid command \N
psql:dump_mybase.txt:2736777: invalid command \N
psql:dump_mybase.txt:2736777: invalid command \N
psql:dump_mybase.txt:2736778: invalid command \N
psql:dump_mybase.txt:2736778: invalid command \N
psql:dump_mybase.txt:2736779: ERROR: parser: parse error at or near "w" at
character 1
psql:dump_mybase.txt:2736779: ERROR: parser: parse error at or near
"4405004" at character 1
psql:dump_mybase.txt:2736779: ERROR: parser: parse error at or near
"7327180" at character 1
psql:dump_mybase.txt:2736779: invalid command \N
psql:dump_mybase.txt:2736779: invalid command \N
psql:dump_mybase.txt:2736780: ERROR: parser: parse error at or near "w" at
character 1
psql:dump_mybase.txt:2736780: ERROR: parser: parse error at or near
"4405004" at character 1
psql:dump_mybase.txt:2736780: ERROR: parser: parse error at or near
"7327180" at character 1
psql:dump_mybase.txt:2736780: invalid command \N
psql:dump_mybase.txt:2736780: invalid command \N
psql:dump_mybase.txt:2736781: invalid command \N
psql:dump_mybase.txt:2736781: invalid command \N
psql:dump_mybase.txt:2736782: invalid command \N
psql:dump_mybase.txt:2736782: invalid command \N
psql:dump_mybase.txt:2736783: ERROR: parser: parse error at or near "w" at
character 1
psql:dump_mybase.txt:2736783: ERROR: parser: parse error at or near
"4405004" at character 1
psql:dump_mybase.txt:2736783: ERROR: parser: parse error at or near
"7327180" at character 1
psql:dump_mybase.txt:2736783: invalid command \N
psql:dump_mybase.txt:2736783: invalid command \N
psql:dump_mybase.txt:2736784: invalid command \N
psql:dump_mybase.txt:2736784: invalid command \N
psql:dump_mybase.txt:2736785: invalid command \N
psql:dump_mybase.txt:2736785: invalid command \N
psql:dump_mybase.txt:2736786: invalid command \N
psql:dump_mybase.txt:2736786: invalid command \N
psql:dump_mybase.txt:2736787: invalid command \.
You are now connected as new user herve.
psql:dump_mybase.txt:2736797: ERROR: parser: parse error at or near "w" at
character 1
psql:dump_mybase.txt:2880938: invalid command \.
You are now connected as new user postgres.
psql:dump_mybase.txt:2880948: ERROR: parser: parse error at or near
"110013570705" at character 1
Query buffer reset (cleared).
psql:dump_mybase.txt:2882296: \r: extra argument '7116' ignored
psql:dump_mybase.txt:2882296: \r: extra argument '2001-08-07' ignored
psql:dump_mybase.txt:2882296: \r: extra argument 'nl42txt' ignored
psql:dump_mybase.txt:2882774: ERROR: parser: parse error at or near
"lo1252386" at character 1

psql:dump_mybase.txt:3719939: invalid command \
psql:dump_mybase.txt:3719940: invalid command \
psql:dump_mybase.txt:3719941: invalid command \
psql:dump_mybase.txt:3719942: invalid command \
psql:dump_mybase.txt:3719943: invalid command \
psql:dump_mybase.txt:3719944: invalid command \
psql:dump_mybase.txt:3719945: invalid command \
psql:dump_mybase.txt:3719946: invalid command \.
You are now connected as new user postgres.
psql:dump_mybase.txt:3747485: invalid command \.

Finish like this all the time ! :(

psql:dump_mybase.txt:16596289: invalid command \N
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

Any ideas ?

Regards,
--
Hervé

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2002-09-07 19:12:36 Re: [JDBC] problem with new autocommit config parameter
Previous Message Rod Taylor 2002-09-07 18:58:08 Re: current_schemas()