Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group