pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 22:59:13 -0500
Message-ID: <8975.1044503953@sss.pgh.pa.us> (raw)
In-Reply-To: <200302051345.46421.geoffrey@pager.net>
References: <200302051128.35997.geoffrey@pager.net>
	<28623.1044472378@sss.pgh.pa.us>
	<200302051345.46421.geoffrey@pager.net>

Geoffrey Wossum <geoffrey@pager.net> writes:
> On Wednesday 05 February 2003 01:12 pm, Tom Lane wrote:
>> This smells to me like it could be a newline-formatting problem (COPY is
>> pretty picky about its newlines).

> [ Nope ]

Drat, another perfectly good theory down the drain.

> Bjoern suggested I add "-d" or "-D" to the pg_dump/pg_dumpall command line, 
> which worked flawlessly, although recreating the database was a bit slow.

Hm.  The -d business used to be a standard workaround for some known
limitations of COPY, but I was of the opinion that we'd fixed the last
of them as of 7.3.  If you found -d necessary even with 7.3.x pg_dump
then I'd like to see the details.  The table definition (as dumped by
pg_dump) and the first few lines of COPY data from the dump would be
useful info to start with...

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <8975.1044503953@sss.pgh.pa.us>
Permalink:  ../8975.1044503953@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8975.1044503953@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, geoffrey@pager.net
  Subject: Re: Problems upgrading from 7.1.3
  In-Reply-To: <8975.1044503953@sss.pgh.pa.us>
  References: <200302051128.35997.geoffrey@pager.net> <28623.1044472378@sss.pgh.pa.us> <200302051345.46421.geoffrey@pager.net> <8975.1044503953@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