Error Handling with COPY command

Поиск
Список
Период
Сортировка
От Kevin Keith
Тема Error Handling with COPY command
Дата
Msg-id 443408FA.9000607@borderware.com
обсуждение исходный текст
Список pgsql-admin
I was wondering if anything has been implemented or is in the works in a
future version - where when provided setting / flag / max number of
errors - the COPY command would not fail on the error and continue
loading data. It would then put the data that didn't load due to error
in another location (i.e. an error data file, or an error table). When
performing bulk data loads, it would be useful to have this type of
feature, and avoid the need to vacuum the table after a large data load
quits due to one error.

I have worked with Oracle in the past, and it has a similar feature the
SQL Loader. A threshold is set to x, and it will only stop after x
number of errors were encountered.

I have seen a few threads on this subject - I was wondering if this is /
will be included in a future version, or whether the concept is dead
because of its potential risks (i.e. the COPY command would be told to
ignore errors and continue).

Thanks,
Kevin

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

Предыдущее
От: "Rosser Schwarz"
Дата:
Сообщение: Re: PITR Based replication ...
Следующее
От: Robin Iddon
Дата:
Сообщение: Re: PITR Based replication ...