[HACKERS] libpq object hooks -- needs copy result

2008-04-24 Thread Merlin Moncure
We are trying to clean up the object hooks patch (on the libpq side) in time for the May commit fest. The last version we posted is here: http://www.nabble.com/libpq-object-hooks-patch-to16707707.html Everything for the most part works ok but there is a problem with the function 'PQmakeResult'

Re: [HACKERS] libpq object hooks -- needs copy result

2008-04-24 Thread Andrew Chernow
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,