migration from postgresql-7.2. to 7.4.1 : invalid command \n

From: Frederic Medery <dist-list(at)LEXUM(dot)UMontreal(dot)CA>
To: pgsql-admin(at)postgresql(dot)org
Subject: migration from postgresql-7.2. to 7.4.1 : invalid command \n
Date: 2004-03-09 21:59:41
Message-ID: 404E3E4D.6060102@lexum.umontreal.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I did a pg_dump with the -d option during the extract.
Inside the dump I have a lot of \012. i replace those with \n (carriage
return).

But when I try to import into a new DB I had : invalid command \n

Is ther e a better way to add carriage return in the sql file ?

Thank !

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message scott.marlowe 2004-03-09 22:04:17 Re: HELP - 7.4.1 tcp connects
Previous Message scott.marlowe 2004-03-09 21:59:16 Re: Problem with data format