Lines Matching refs:res
783 PGresult *res; in _close_pgsql_link() local
785 while ((res = PQgetResult(link))) { in _close_pgsql_link()
786 PQclear(res); in _close_pgsql_link()
798 PGresult *res; in _close_pgsql_plink() local
800 while ((res = PQgetResult(link))) { in _close_pgsql_plink()
801 PQclear(res); in _close_pgsql_plink()
847 PGresult *res; in _rollback_transactions() local
860 while ((res = PQgetResult(link))) { in _rollback_transactions()
861 PQclear(res); in _rollback_transactions()
870 res = PQexec(link,"ROLLBACK;"); in _rollback_transactions()
872 res = PQexec(link,"BEGIN;"); in _rollback_transactions()
873 PQclear(res); in _rollback_transactions()
874 res = PQexec(link,"ROLLBACK;"); in _rollback_transactions()
876 PQclear(res); in _rollback_transactions()
1526 PGresult *res; local
1541 res = PQexec(pgsql, "SELECT 1;");
1542 PQclear(res);
4366 PGresult *res; local
4373 while ((res = PQgetResult(pgsql))) {
4374 PQclear(res);
4451 PGresult *res; local
4465 while ((res = PQgetResult(pgsql))) {
4466 PQclear(res);
4498 PGresult *res; local
4515 while ((res = PQgetResult(pgsql))) {
4516 PQclear(res);
4583 PGresult *res; local
4600 while ((res = PQgetResult(pgsql))) {
4601 PQclear(res);
4635 PGresult *res; local
4652 while ((res = PQgetResult(pgsql))) {
4653 PQclear(res);