From: Tom Lane <tgl@sss.pgh.pa.us>
To: Geoffrey Wossum <geoffrey@pager.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems upgrading from 7.1.3
Date: Wed, 05 Feb 2003 14:12:58 -0500
Message-ID: <28623.1044472378@sss.pgh.pa.us> (raw)
In-Reply-To: <200302051128.35997.geoffrey@pager.net>
References: <200302051128.35997.geoffrey@pager.net>
Geoffrey Wossum <geoffrey@pager.net> writes:
> I then took that file over to test machine running PostgreSQL 7.3.1,
Er, how did you copy the file over exactly?
This smells to me like it could be a newline-formatting problem (COPY is
pretty picky about its newlines). If you passed the file through
anything that might choose to convert Unix newlines to DOS newlines,
you would have that problem.
BTW, the very best way to do this sort of upgrade is to use the newer
version's pg_dump (ie, 7.3.1's pg_dump) to extract data from the older
server. The newer pg_dump will know how to apply any SQL compatibility
adjustments that might be appropriate. I do not think that will make
any difference to a COPY-data-format problem, but it could help for
other things.
regards, tom lane
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: tgl@sss.pgh.pa.us, geoffrey@pager.net
Subject: Re: Problems upgrading from 7.1.3
In-Reply-To: <28623.1044472378@sss.pgh.pa.us>
References: <200302051128.35997.geoffrey@pager.net> <28623.1044472378@sss.pgh.pa.us>
* 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