pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frederic Medery <dist-list@LEXUM.UMontreal.CA>
Cc: pgsql-admin@postgresql.org
Subject: Re: migration from postgresql-7.2. to 7.4.1 : invalid command
Date: Wed, 10 Mar 2004 13:15:37 -0500
Message-ID: <404F5B49.7040407@lexum.umontreal.ca> (raw)
In-Reply-To: <460.1078878330@sss.pgh.pa.us>
References: <404E3E4D.6060102@lexum.umontreal.ca>
	<460.1078878330@sss.pgh.pa.us>

I had to you use pg_dump -d -D. now the import works fine !

F


Tom Lane wrote:

>Frederic Medery <dist-list@LEXUM.UMontreal.CA> writes:
>  
>
>>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).
>>    
>>
>
>Huh?  \012 *is* \n.  Carriage return (a/k/a \r or \015) is something
>else, and it is not what you want.
>
>			regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>  
>



view thread (4+ messages)

Message-ID: <404F5B49.7040407@lexum.umontreal.ca>
Permalink:  ../404F5B49.7040407@lexum.umontreal.ca/
Also on:    postgresql.org/message-id/404F5B49.7040407@lexum.umontreal.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dist-list@LEXUM.UMontreal.CA
  Subject: Re: migration from postgresql-7.2. to 7.4.1 : invalid command
  In-Reply-To: <404F5B49.7040407@lexum.umontreal.ca>
  References: <404E3E4D.6060102@lexum.umontreal.ca> <460.1078878330@sss.pgh.pa.us> <404F5B49.7040407@lexum.umontreal.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox