pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott W. Hill <stmpjmpr@stmpjmpr.com>
To: pgsql-admin@postgresql.org
Subject: Importing Data into an Old Version of Postgres
Date: Mon,  5 May 2003 12:52:52 -0700
Message-ID: <1052164372.3eb6c114bf7c0@www.kattare.com> (raw)

I'm switching service providers, and going from a 7.3.2 database to 
7.2.3. I've done a pg_dump of my database, and much of my data has 
embedded newlines (represented as '/n' in the dump file). These 
seem to be causing many errors during the import (using psql) into 
the older database, although the same dump can be imported into 
another 7.3.x database.

I understand that the dump data formats change between major 
releases, and am wondering if there's a workaround that someone 
knows that can facilitate my needs. I've looked in the archives, 
and only found problems related to Windows linefeed munging, which 
isn't the case here since there is no Windows step in my workflow.

TIA,

--Scott




Message-ID: <1052164372.3eb6c114bf7c0@www.kattare.com>
Permalink:  ../1052164372.3eb6c114bf7c0@www.kattare.com/
Also on:    postgresql.org/message-id/1052164372.3eb6c114bf7c0@www.kattare.com

 · 

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: stmpjmpr@stmpjmpr.com
  Subject: Re: Importing Data into an Old Version of Postgres
  In-Reply-To: <1052164372.3eb6c114bf7c0@www.kattare.com>
  References: <1052164372.3eb6c114bf7c0@www.kattare.com>

* 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