Re: PQputCopyData dont signal error

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: PQputCopyData dont signal error
Дата
Msg-id CAB7nPqQt2iC-irsBPpAGsko+KXkgXXP9tTgtTZDUcOt7NJzujw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PQputCopyData dont signal error  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Tue, Apr 1, 2014 at 1:33 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> steve k wrote:
>
>> I am examining other ways to do mass inserts/writes that allow for
>> notification if some of the data contained within for some reason fails to
>> copy/insert so that the cause of the bad data can be examined and remedied
>> as soon as it occurs as well as writing the offending data to a log so that
>> not all of it is lost.
>
> Have you looked at PGLoader?
> https://github.com/dimitri/pgloader
Or pg_bulkload? It does exactly what you are looking for, aka
filtering rows that failed with COPY, on top of other things.
http://pgbulkload.projects.pgfoundry.org/pg_bulkload.html
-- 
Michael



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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Archive recovery won't be completed on some situation.