Re: COPY..FROM question on 7.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Patrick Hatcher" <PHatcher(at)macys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY..FROM question on 7.3
Date: 2003-01-30 00:01:48
Message-ID: 5539.1043884908@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Patrick Hatcher" <PHatcher(at)macys(dot)com> writes:
> Trying to import a 4 column tab delimited file into Pg 7.3. As it stands,
> the last line contains only the first two columns. I would expect that the
> import would only update the first two column like it did in Pg 7.2.x.
> However, I get an error message Missing data from column "X".
> Is there something I can do to avoid the message?

Yes, fix the data file ;-). This was deliberately tightened in 7.3 to
detect the sorts of obscure mistakes that the old behavior allowed to
slip by ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-01-30 00:01:53 Re: Problem starting postmaster at startup
Previous Message Patrick Hatcher 2003-01-29 23:59:05 Re: COPY..FROM question on 7.3