Re: libpq object hooks -- needs copy result - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: libpq object hooks -- needs copy result
Date
Msg-id 4810B71B.90906@esilo.com
Whole thread Raw
In response to libpq object hooks -- needs copy result  ("Merlin Moncure" <mmoncure@gmail.com>)
List 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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Is this TODO item done?
Next
From: "Brendan Jurd"
Date:
Subject: Re: [GENERAL] I think this is a BUG?