| From: | "Patrick Hatcher" <PHatcher(at)macys(dot)com> |
|---|---|
| To: | "Tom Lane <tgl" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: COPY..FROM question on 7.3 |
| Date: | 2003-01-29 23:59:05 |
| Message-ID: | OFDA585941.7FBF2D4E-ON88256CBD.0083A3C1@fds.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Unfortunately, I thought that was what you were going to say. Time to pull
out the PERL scripts
Thanks
Patrick Hatcher
Macys.Com
Tom Lane
<tgl(at)sss(dot)pgh(dot)p To: "Patrick Hatcher" <PHatcher(at)macys(dot)com>
a.us> cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] COPY..FROM question on 7.3
01/29/2003
04:01 PM
"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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-01-30 00:01:48 | Re: COPY..FROM question on 7.3 |
| Previous Message | Oliver Elphick | 2003-01-29 23:55:59 | Re: Problem starting postmaster at startup |