Re: libpq: do I need PQendcopy after PQgetCopyData? - Mailing list pgsql-general

From Tom Lane
Subject Re: libpq: do I need PQendcopy after PQgetCopyData?
Date
Msg-id 20198.1261502379@sss.pgh.pa.us
Whole thread Raw
In response to libpq: do I need PQendcopy after PQgetCopyData?  (Nathaniel Trellice <naptrel@yahoo.co.uk>)
Responses Re: libpq: do I need PQendcopy after PQgetCopyData?  (Nathaniel Trellice <naptrel@yahoo.co.uk>)
List pgsql-general
Nathaniel Trellice <naptrel@yahoo.co.uk> writes:
> So, even though the manual states that it's obsolete, do I need to issue a call to 'PQendcopy' to tell the server
thatthe copy is complete? 

No, but did you do a PQgetResult?  See the description of PQgetCopyData.

            regards, tom lane

pgsql-general by date:

Previous
From: Nathaniel Trellice
Date:
Subject: libpq: do I need PQendcopy after PQgetCopyData?
Next
From: Nathaniel Trellice
Date:
Subject: Re: libpq: do I need PQendcopy after PQgetCopyData?