Re: libpq: do I need PQendcopy after PQgetCopyData?

From: Nathaniel Trellice <naptrel(at)yahoo(dot)co(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: libpq: do I need PQendcopy after PQgetCopyData?
Date: 2009-12-22 17:30:00
Message-ID: 845403.82582.qm@web25006.mail.ukl.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
No, but did you do a PQgetResult? See the description of PQgetCopyData.

Oops! Thanks Tom. Even after many re-reads, I missed that final paragraph in the manual, and have wasted ages on this.
Nathaniel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Antonio Sobalvarro 2009-12-22 18:18:48 relation pg_autovacuum does not exist in postgresql 8.4.2
Previous Message Jacob Shucart 2009-12-22 17:26:56 Error starting backup