Re: libpq object hooks -- needs copy result

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq object hooks -- needs copy result
Date: 2008-04-24 16:36:43
Message-ID: 4810B71B.90906@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Merlin Moncure wrote:
>
> With an eye towards sideband utility, we are suggesting:
> PQcopyResult(PGresult *dest, const PGresult *src, int numAttributes,
> PGresAttDesc *attDescs, int options);
>

Small correction on that prototype.

PGresult *
PQcopyResult(const PGresult *src, int numAttributes,
PGresAttDesc *attDescs, int options);

The 'dest' result is returned, not provided as an argument.

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-04-24 16:38:27 Re: Proposed patch - psql wraps at window width
Previous Message Bruce Momjian 2008-04-24 16:35:59 Re: Is this TODO item done?