Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row
Дата
Msg-id CAKFQuwawy1e6YR4S=j+y7pXqg_Dw1WBVrgvf=BP3d1_aSfe_+Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row  (jian he <jian.universality@gmail.com>)
Re: Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row  (Yugo NAGATA <nagata@sraoss.co.jp>)
Список pgsql-hackers
Hi,

The option choice of "ignore" in the COPY ON_ERROR clause seems overly generic.  There would seem to be two relevant ways to ignore bad column input data - drop the entire row or just set the column value to null.  I can see us wanting to provide the set to null option and in any case having the option name be explicit that it ignores the row seems like a good idea.

David J.

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Small fix on COPY ON_ERROR document
Следующее
От: Robert Haas
Дата:
Сообщение: Re: POC: GROUP BY optimization