Re: Problem with COPY in 8.0.3 - Mailing list pgsql-bugs

From Oliver Elphick
Subject Re: Problem with COPY in 8.0.3
Date
Msg-id 1129140500.6751.223.camel@linda.lfix.co.uk
Whole thread Raw
In response to Re: Problem with COPY in 8.0.3  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Problem with COPY in 8.0.3
Re: Problem with COPY in 8.0.3
List pgsql-bugs
On Wed, 2005-10-12 at 13:52 -0400, Tom Lane wrote:
> Oliver Elphick <olly@bray-healthcare.com> writes:
> > Pg 8.0.3 (Debian package) on AMD64, linux 2.6.12
> > I am importing a table using COPY.  The data is tab-delimited.  COPY
> > seems to be putting the data for one field into the preceding field,
> > which should contain the empty string.
>
> Can't reproduce that here, under either 8.0 or CVS tip.  Are you sure
> you aren't making some silly mistake, like copying from the wrong file?

No.  This is a regular (nightly) scripted dump, which drops and rebuilds
the entire database, and the right data is going into the file (I only
showed one line out of 300+).  But in this particular case, the column
order was wrong.  I should add that the table inherits from another one,
but the swapped columns are a long way into the extra columns specific
to this table.

I've changed the script to fix it, so its not a big issue for me, but I
first noticed it several days ago, so it's not a one off occurrence.

Oliver
--
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with COPY in 8.0.3
Next
From: Michael Fuhr
Date:
Subject: Re: Problem with COPY in 8.0.3