Search Postgresql Archives

Re: Full Stored Procedure Support, any time soon ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/30/2013 3:27 PM, Thomas Kellerer wrote:
I don't think that's a limitation. The client will still iterate through one result set at a time.

PQexec etc return a  PGresult *

the various PQxxxxx functions that accept PGresult * as an argument, each only return info about the single resultset, like PQntuples, PQnfields, PQgetvalue, PQfname, PQfnumber, etc... I guess we'd need some new functions to return the number of resultsets, and choose a resultset by index number, then those above functions would refer to the 'currently chosen' PQresult ? or at least a res = PQnextresult(PGresult *res), which returns 0 if there is no next resultset ?









--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux