Re: PQputCopyData dont signal error

From: David Johnston <polobo(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PQputCopyData dont signal error
Date: 2014-03-31 18:59:19
Message-ID: 1396292359094-5798077.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

steve k wrote
> I started with this:
> DBInsert_excerpts6_test_cpdlc.cpp
> <http://postgresql.1045698.n5.nabble.com/file/n5798049/DBInsert_excerpts6_test_cpdlc.cpp>
>

Can you point out to me where in that code you've followed this instruction
from the documentation:

"After successfully calling PQputCopyEnd, call PQgetResult to obtain the
final result status of the COPY command. One can wait for this result to be
available in the usual way. Then return to normal operation."

Since I cannot seem to find it.

David J.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/PQputCopyData-dont-signal-error-tp4302340p5798077.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-03-31 19:04:03 Re: PATCH: decreasing memory needlessly consumed by array_agg
Previous Message Robert Haas 2014-03-31 18:56:59 Re: Securing "make check" (CVE-2014-0067)