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