Lines Matching refs:pgsql_result

522 	PGresult *pgsql_result;  in PHP_METHOD()  local
548 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
549 PQclear(pgsql_result); in PHP_METHOD()
551 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
556 if (pgsql_result) { in PHP_METHOD()
557 status = PQresultStatus(pgsql_result); in PHP_METHOD()
562 if (status == PGRES_COPY_IN && pgsql_result) { in PHP_METHOD()
568 PQclear(pgsql_result); in PHP_METHOD()
600 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
601 if (PGRES_COMMAND_OK != PQresultStatus(pgsql_result)) { in PHP_METHOD()
605 PQclear(pgsql_result); in PHP_METHOD()
610 PQclear(pgsql_result); in PHP_METHOD()
627 PGresult *pgsql_result; in PHP_METHOD() local
655 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
656 PQclear(pgsql_result); in PHP_METHOD()
658 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
662 if (pgsql_result) { in PHP_METHOD()
663 status = PQresultStatus(pgsql_result); in PHP_METHOD()
668 if (status == PGRES_COPY_IN && pgsql_result) { in PHP_METHOD()
673 PQclear(pgsql_result); in PHP_METHOD()
690 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
691 if (PGRES_COMMAND_OK != PQresultStatus(pgsql_result)) { in PHP_METHOD()
695 PQclear(pgsql_result); in PHP_METHOD()
700 PQclear(pgsql_result); in PHP_METHOD()
720 PGresult *pgsql_result; in PHP_METHOD() local
742 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
743 PQclear(pgsql_result); in PHP_METHOD()
751 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
754 if (pgsql_result) { in PHP_METHOD()
755 status = PQresultStatus(pgsql_result); in PHP_METHOD()
760 if (status == PGRES_COPY_OUT && pgsql_result) { in PHP_METHOD()
761 PQclear(pgsql_result); in PHP_METHOD()
785 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
786 PQclear(pgsql_result); in PHP_METHOD()
791 PQclear(pgsql_result); in PHP_METHOD()
809 PGresult *pgsql_result; in PHP_METHOD() local
823 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
824 PQclear(pgsql_result); in PHP_METHOD()
832 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
835 if (pgsql_result) { in PHP_METHOD()
836 status = PQresultStatus(pgsql_result); in PHP_METHOD()
841 if (status == PGRES_COPY_OUT && pgsql_result) { in PHP_METHOD()
842 PQclear(pgsql_result); in PHP_METHOD()
859 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
860 PQclear(pgsql_result); in PHP_METHOD()
863 PQclear(pgsql_result); in PHP_METHOD()