Re: [NOVICE] get error message of COPY command after using PQputCopyEnd

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [NOVICE] get error message of COPY command after using PQputCopyEnd
Дата
Msg-id 20832.1485297048@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [NOVICE] get error message of COPY command after using PQputCopyEnd  (bronstein87 <bumatov@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: bronstein87
Дата:
Сообщение: [NOVICE] get error message of COPY command after using PQputCopyEnd
Следующее
От: padmini
Дата:
Сообщение: [NOVICE] Postgres authentication to multiple application servers