Re: Inserting 'large' amounts of data

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Inserting 'large' amounts of data
Дата
Msg-id 4A95CC73.1030000@ejurka.com
обсуждение исходный текст
Ответ на Re: Inserting 'large' amounts of data  (John R Pierce <pierce@hogranch.com>)
Список pgsql-jdbc

John R Pierce wrote:
>
> speaking of using JDBC COPY FROM STDIN via this CopyManager
> interface...  how does that handle constraint violations, like duplicate
> primary key?
>

Just like a regular copy failure via psql or constraint violation.  An
Exception is thrown and the transaction is aborted (which you must
rollback).

Kris Jurka

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

Предыдущее
От: Maciek Sakrejda
Дата:
Сообщение: Re: Inserting 'large' amounts of data
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: PGStream synchronization