pg_result 735 ext/pgsql/pgsql.c PHP_FALIAS(pg_result, pg_fetch_result, arginfo_pg_get_result) pg_result 1045 ext/pgsql/pgsql.c pgsql_result_handle *pg_result = (pgsql_result_handle *)rsrc->ptr; pg_result 1047 ext/pgsql/pgsql.c PQclear(pg_result->result); pg_result 1048 ext/pgsql/pgsql.c efree(pg_result); pg_result 1278 ext/pgsql/pgsql.c PGresult *pg_result; pg_result 1374 ext/pgsql/pgsql.c PGresult *pg_result; pg_result 1375 ext/pgsql/pgsql.c pg_result = PQexec(le->ptr, "select 1"); pg_result 1376 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 1401 ext/pgsql/pgsql.c pg_result = PQexec(pgsql, "RESET ALL;"); pg_result 1402 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 1830 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 1886 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); pg_result 1887 ext/pgsql/pgsql.c pg_result->conn = pgsql; pg_result 1888 ext/pgsql/pgsql.c pg_result->result = pgsql_result; pg_result 1889 ext/pgsql/pgsql.c pg_result->row = 0; pg_result 1890 ext/pgsql/pgsql.c ZEND_REGISTER_RESOURCE(return_value, pg_result, le_result); pg_result 1932 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2026 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); pg_result 2027 ext/pgsql/pgsql.c pg_result->conn = pgsql; pg_result 2028 ext/pgsql/pgsql.c pg_result->result = pgsql_result; pg_result 2029 ext/pgsql/pgsql.c pg_result->row = 0; pg_result 2030 ext/pgsql/pgsql.c ZEND_REGISTER_RESOURCE(return_value, pg_result, le_result); pg_result 2053 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2109 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); pg_result 2110 ext/pgsql/pgsql.c pg_result->conn = pgsql; pg_result 2111 ext/pgsql/pgsql.c pg_result->result = pgsql_result; pg_result 2112 ext/pgsql/pgsql.c pg_result->row = 0; pg_result 2113 ext/pgsql/pgsql.c ZEND_REGISTER_RESOURCE(return_value, pg_result, le_result); pg_result 2139 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2233 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); pg_result 2234 ext/pgsql/pgsql.c pg_result->conn = pgsql; pg_result 2235 ext/pgsql/pgsql.c pg_result->result = pgsql_result; pg_result 2236 ext/pgsql/pgsql.c pg_result->row = 0; pg_result 2237 ext/pgsql/pgsql.c ZEND_REGISTER_RESOURCE(return_value, pg_result, le_result); pg_result 2258 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2264 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2266 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2405 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2417 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2419 ext/pgsql/pgsql.c if (fnum < 0 || fnum >= PQnfields(pg_result->result)) { pg_result 2424 ext/pgsql/pgsql.c oid = PQftable(pg_result->result, fnum); pg_result 2459 ext/pgsql/pgsql.c if ((tmp_res = PQexec(pg_result->conn, querystr.c)) == NULL || PQresultStatus(tmp_res) != PGRES_TUPLES_OK) { pg_result 2501 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2508 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2510 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2529 ext/pgsql/pgsql.c Z_STRVAL_P(return_value) = get_field_name(pg_result->conn, PQftype(pgsql_result, field), &EG(regular_list) TSRMLS_CC); pg_result 2598 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2604 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2606 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2620 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2633 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2635 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2637 ext/pgsql/pgsql.c if (pg_result->row < 0) { pg_result 2638 ext/pgsql/pgsql.c pg_result->row = 0; pg_result 2640 ext/pgsql/pgsql.c pgsql_row = pg_result->row; pg_result 2681 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2727 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2729 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2733 ext/pgsql/pgsql.c pg_result->row = pgsql_row; pg_result 2741 ext/pgsql/pgsql.c pgsql_row = pg_result->row; pg_result 2745 ext/pgsql/pgsql.c pg_result->row++; pg_result 2882 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2888 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2890 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2905 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2914 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2916 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2946 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2952 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2954 ext/pgsql/pgsql.c if (row < 0 || row >= PQntuples(pg_result->result)) { pg_result 2959 ext/pgsql/pgsql.c pg_result->row = row; pg_result 2975 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 2988 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 2990 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 2992 ext/pgsql/pgsql.c if (pg_result->row < 0) { pg_result 2993 ext/pgsql/pgsql.c pg_result->row = 0; pg_result 2995 ext/pgsql/pgsql.c pgsql_row = pg_result->row; pg_result 3056 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 3062 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 3077 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 3086 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 3087 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 4591 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 4599 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 4601 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 4619 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 4627 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 4629 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 5195 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 5208 ext/pgsql/pgsql.c pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); pg_result 5209 ext/pgsql/pgsql.c pg_result->conn = pgsql; pg_result 5210 ext/pgsql/pgsql.c pg_result->result = pgsql_result; pg_result 5211 ext/pgsql/pgsql.c pg_result->row = 0; pg_result 5212 ext/pgsql/pgsql.c ZEND_REGISTER_RESOURCE(return_value, pg_result, le_result); pg_result 5224 ext/pgsql/pgsql.c pgsql_result_handle *pg_result; pg_result 5231 ext/pgsql/pgsql.c ZEND_FETCH_RESOURCE(pg_result, pgsql_result_handle *, &result, -1, "PostgreSQL result", le_result); pg_result 5233 ext/pgsql/pgsql.c pgsql_result = pg_result->result; pg_result 5467 ext/pgsql/pgsql.c PGresult *pg_result; pg_result 5531 ext/pgsql/pgsql.c pg_result = PQexec(pg_link, querystr.c); pg_result 5532 ext/pgsql/pgsql.c if (PQresultStatus(pg_result) != PGRES_TUPLES_OK || (num_rows = PQntuples(pg_result)) == 0) { pg_result 5535 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 5545 ext/pgsql/pgsql.c add_assoc_long(elem, "num", atoi(PQgetvalue(pg_result,i,1))); pg_result 5547 ext/pgsql/pgsql.c add_assoc_string(elem, "type", PQgetvalue(pg_result,i,2), 1); pg_result 5549 ext/pgsql/pgsql.c add_assoc_long(elem, "len", atoi(PQgetvalue(pg_result,i,3))); pg_result 5551 ext/pgsql/pgsql.c add_assoc_bool(elem, "not null", !strcmp(PQgetvalue(pg_result,i,4), "t")); pg_result 5553 ext/pgsql/pgsql.c add_assoc_bool(elem, "has default", !strcmp(PQgetvalue(pg_result,i,5), "t")); pg_result 5555 ext/pgsql/pgsql.c add_assoc_long(elem, "array dims", atoi(PQgetvalue(pg_result,i,6))); pg_result 5557 ext/pgsql/pgsql.c add_assoc_bool(elem, "is enum", !strcmp(PQgetvalue(pg_result,i,7), "e")); pg_result 5560 ext/pgsql/pgsql.c add_assoc_bool(elem, "is base", !strcmp(PQgetvalue(pg_result,i,7), "b")); pg_result 5561 ext/pgsql/pgsql.c add_assoc_bool(elem, "is composite", !strcmp(PQgetvalue(pg_result,i,7), "c")); pg_result 5562 ext/pgsql/pgsql.c add_assoc_bool(elem, "is pesudo", !strcmp(PQgetvalue(pg_result,i,7), "p")); pg_result 5564 ext/pgsql/pgsql.c add_assoc_string(elem, "description", PQgetvalue(pg_result,i,8), 1); pg_result 5567 ext/pgsql/pgsql.c name = PQgetvalue(pg_result,i,0); pg_result 5570 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 6486 ext/pgsql/pgsql.c PGresult *pg_result; pg_result 6488 ext/pgsql/pgsql.c pg_result = PQexec(pg_link, querystr->c); pg_result 6489 ext/pgsql/pgsql.c if (PQresultStatus(pg_result) == expect) { pg_result 6490 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 6493 ext/pgsql/pgsql.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", PQresultErrorMessage(pg_result)); pg_result 6494 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 6673 ext/pgsql/pgsql.c PGresult *pg_result; pg_result 6699 ext/pgsql/pgsql.c pg_result = PQexec(pg_link, sql); pg_result 6701 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 6703 ext/pgsql/pgsql.c pg_result = PQexec(pg_link, sql); pg_result 6707 ext/pgsql/pgsql.c if (pg_result) { pg_result 6708 ext/pgsql/pgsql.c status = PQresultStatus(pg_result); pg_result 6719 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 6724 ext/pgsql/pgsql.c if (pg_result) { pg_result 6727 ext/pgsql/pgsql.c pgsql_handle->result = pg_result; pg_result 6732 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 7015 ext/pgsql/pgsql.c PHP_PGSQL_API int php_pgsql_result2array(PGresult *pg_result, zval *ret_array TSRMLS_DC) pg_result 7024 ext/pgsql/pgsql.c if ((pg_numrows = PQntuples(pg_result)) <= 0) { pg_result 7031 ext/pgsql/pgsql.c for (i = 0, num_fields = PQnfields(pg_result); i < num_fields; i++) { pg_result 7032 ext/pgsql/pgsql.c if (PQgetisnull(pg_result, pg_row, i)) { pg_result 7033 ext/pgsql/pgsql.c field_name = PQfname(pg_result, i); pg_result 7036 ext/pgsql/pgsql.c char *element = PQgetvalue(pg_result, pg_row, i); pg_result 7045 ext/pgsql/pgsql.c field_name = PQfname(pg_result, i); pg_result 7062 ext/pgsql/pgsql.c PGresult *pg_result; pg_result 7093 ext/pgsql/pgsql.c pg_result = PQexec(pg_link, querystr.c); pg_result 7094 ext/pgsql/pgsql.c if (PQresultStatus(pg_result) == PGRES_TUPLES_OK) { pg_result 7095 ext/pgsql/pgsql.c ret = php_pgsql_result2array(pg_result, ret_array TSRMLS_CC); pg_result 7099 ext/pgsql/pgsql.c PQclear(pg_result); pg_result 219 ext/pgsql/php_pgsql.h PHP_PGSQL_API int php_pgsql_result2array(PGresult *pg_result, zval *ret_array TSRMLS_DC);