Re: PQputCopyData dont signal error - Mailing list pgsql-hackers

From David Johnston
Subject Re: PQputCopyData dont signal error
Date
Msg-id 1396292359094-5798077.post@n5.nabble.com
Whole thread Raw
In response to Re: PQputCopyData dont signal error  (steve k <steven.c.kohler@nasa.gov>)
Responses Re: PQputCopyData dont signal error
List 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.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Securing "make check" (CVE-2014-0067)
Next
From: Robert Haas
Date:
Subject: Re: PATCH: decreasing memory needlessly consumed by array_agg