Re: [NOVICE] get error message of COPY command after using PQputCopyEnd - Mailing list pgsql-novice

From Tom Lane
Subject Re: [NOVICE] get error message of COPY command after using PQputCopyEnd
Date
Msg-id 20832.1485297048@sss.pgh.pa.us
Whole thread Raw
In response to [NOVICE] get error message of COPY command after using PQputCopyEnd  (bronstein87 <bumatov@gmail.com>)
List pgsql-novice
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


pgsql-novice by date:

Previous
From: bronstein87
Date:
Subject: [NOVICE] get error message of COPY command after using PQputCopyEnd
Next
From: padmini
Date:
Subject: [NOVICE] Postgres authentication to multiple application servers