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

From: Frédéric Médery <mederyf(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 19:24:01
Message-ID: 404E19D1.8070702@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 ?

Browse pgsql-admin by date

  From Date Subject
Next Message Greg Spiegelberg 2004-03-09 20:29:43 syslog slowing the database?
Previous Message postgres 2004-03-09 16:35:43 Re: Colors in vim