Re: COPY from and NULL values for double precisions fields

Поиск
Список
Период
Сортировка
От Walter Vaughan
Тема Re: COPY from and NULL values for double precisions fields
Дата
Msg-id 45EB804E.4080004@steelerubber.com
обсуждение исходный текст
Ответ на COPY from and NULL values for double precisions fields  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
Ответы Re: COPY from and NULL values for double precisions fields  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
Список pgsql-general
Andrej Ricnik-Bay wrote:

> I'm currently mucking around w/ importing TAB-delimited files;
> how can I import empty values into a double precision field?
>
> COPY complains about nothing between the TABS, about "\N"
> and other variations, as being
> "invalid input syntax for type double precision:"

For best help it would be good to include your copy statement. As a guess, I'd
say you need to include the following in the statement...

NULL ''

--
Walter

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

Предыдущее
От: "Andrej Ricnik-Bay"
Дата:
Сообщение: COPY from and NULL values for double precisions fields
Следующее
От: Bill Moran
Дата:
Сообщение: Re: real multi-master replication?