Lines Matching refs:pgsql_result
550 PGresult *pgsql_result; in PHP_METHOD() local
578 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
579 PQclear(pgsql_result); in PHP_METHOD()
581 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
586 if (pgsql_result) { in PHP_METHOD()
587 status = PQresultStatus(pgsql_result); in PHP_METHOD()
592 if (status == PGRES_COPY_IN && pgsql_result) { in PHP_METHOD()
597 PQclear(pgsql_result); in PHP_METHOD()
629 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
630 if (PGRES_COMMAND_OK != PQresultStatus(pgsql_result)) { in PHP_METHOD()
631 pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, pdo_pgsql_sqlstate(pgsql_result)); in PHP_METHOD()
634 PQclear(pgsql_result); in PHP_METHOD()
640 pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, pdo_pgsql_sqlstate(pgsql_result)); in PHP_METHOD()
641 PQclear(pgsql_result); in PHP_METHOD()
658 PGresult *pgsql_result; in PHP_METHOD() local
689 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
690 PQclear(pgsql_result); in PHP_METHOD()
692 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
696 if (pgsql_result) { in PHP_METHOD()
697 status = PQresultStatus(pgsql_result); in PHP_METHOD()
702 if (status == PGRES_COPY_IN && pgsql_result) { in PHP_METHOD()
707 PQclear(pgsql_result); in PHP_METHOD()
726 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
727 if (PGRES_COMMAND_OK != PQresultStatus(pgsql_result)) { in PHP_METHOD()
728 pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, pdo_pgsql_sqlstate(pgsql_result)); in PHP_METHOD()
731 PQclear(pgsql_result); in PHP_METHOD()
738 pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, pdo_pgsql_sqlstate(pgsql_result)); in PHP_METHOD()
739 PQclear(pgsql_result); in PHP_METHOD()
758 PGresult *pgsql_result; in PHP_METHOD() local
782 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
783 PQclear(pgsql_result); in PHP_METHOD()
792 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
795 if (pgsql_result) { in PHP_METHOD()
796 status = PQresultStatus(pgsql_result); in PHP_METHOD()
801 if (status == PGRES_COPY_OUT && pgsql_result) { in PHP_METHOD()
802 PQclear(pgsql_result); in PHP_METHOD()
828 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
829 PQclear(pgsql_result); in PHP_METHOD()
834 pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, pdo_pgsql_sqlstate(pgsql_result)); in PHP_METHOD()
835 PQclear(pgsql_result); in PHP_METHOD()
853 PGresult *pgsql_result; in PHP_METHOD() local
868 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
869 PQclear(pgsql_result); in PHP_METHOD()
878 pgsql_result = PQexec(H->server, query); in PHP_METHOD()
881 if (pgsql_result) { in PHP_METHOD()
882 status = PQresultStatus(pgsql_result); in PHP_METHOD()
887 if (status == PGRES_COPY_OUT && pgsql_result) { in PHP_METHOD()
888 PQclear(pgsql_result); in PHP_METHOD()
906 while ((pgsql_result = PQgetResult(H->server))) { in PHP_METHOD()
907 PQclear(pgsql_result); in PHP_METHOD()
910 pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, pdo_pgsql_sqlstate(pgsql_result)); in PHP_METHOD()
911 PQclear(pgsql_result); in PHP_METHOD()