Lines Matching refs:result
12 $result = pg_query($db, "SELECT * FROM ".$table_name.";");
13 if (!($rows = pg_num_rows($result)))
19 pg_fetch_array($result, $i, PGSQL_NUM);
23 pg_fetch_object($result);
27 pg_fetch_row($result, $i);
31 pg_fetch_result($result, $i, 0);
34 pg_result_error($result);
36 pg_result_error_field($result, PGSQL_DIAG_SEVERITY);
37 pg_result_error_field($result, PGSQL_DIAG_SQLSTATE);
38 pg_result_error_field($result, PGSQL_DIAG_MESSAGE_PRIMARY);
39 pg_result_error_field($result, PGSQL_DIAG_MESSAGE_DETAIL);
40 pg_result_error_field($result, PGSQL_DIAG_MESSAGE_HINT);
41 pg_result_error_field($result, PGSQL_DIAG_STATEMENT_POSITION);
44 pg_result_error_field($result, PGSQL_DIAG_INTERNAL_POSITION);
48 pg_result_error_field($result, PGSQL_DIAG_INTERNAL_QUERY);
50 pg_result_error_field($result, PGSQL_DIAG_CONTEXT);
51 pg_result_error_field($result, PGSQL_DIAG_SOURCE_FILE);
52 pg_result_error_field($result, PGSQL_DIAG_SOURCE_LINE);
53 pg_result_error_field($result, PGSQL_DIAG_SOURCE_FUNCTION);
57 pg_field_name($result, 0);
58 pg_field_num($result, $field_name);
59 pg_field_size($result, 0);
60 pg_field_type($result, 0);
61 pg_field_prtlen($result, 0);
62 pg_field_is_null($result, 0);
64 $result = pg_query($db, "INSERT INTO ".$table_name." VALUES (9999, 'ABC');");
65 pg_last_oid($result);
67 pg_free_result($result);