bronstein87 <bumatov@gmail.com> writes:
> I'm trying to get an error after sending wrong buffer by PQputCopyData.
> ...
> so, pqgetresult do not return any error. what im doing wrong?
Hm, are you sure the data you're sending is actually wrong?
I don't see anything in your code extract that looks wrong.
You might try looking in the server log to see what it thinks
is happening.
regards, tom lane