Re: COPY..FROM question on 7.3

Поиск
Список
Период
Сортировка
От Patrick Hatcher
Тема Re: COPY..FROM question on 7.3
Дата
Msg-id OFDA585941.7FBF2D4E-ON88256CBD.0083A3C1@fds.com
обсуждение исходный текст
Ответ на COPY..FROM question on 7.3  ("Patrick Hatcher" <PHatcher@macys.com>)
Список 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@sss.pgh.p       To:     "Patrick Hatcher" <PHatcher@macys.com>
                    a.us>                cc:     pgsql-general@postgresql.org
                                         Subject:     Re: [GENERAL] COPY..FROM question on 7.3
                    01/29/2003
                    04:01 PM






"Patrick Hatcher" <PHatcher@macys.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





В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY..FROM question on 7.3
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Problem starting postmaster at startup