diff --git a/reference/pgsql/functions/pg-get-result.xml b/reference/pgsql/functions/pg-get-result.xml index 50ca024216..339970a411 100644 --- a/reference/pgsql/functions/pg-get-result.xml +++ b/reference/pgsql/functions/pg-get-result.xml @@ -1,5 +1,5 @@ - + @@ -16,13 +16,88 @@ resourceconnection - pg_get_result get result resource from async - query executed by - pg_send_query. pg_send_query - can send multiple queries to PostgreSQL server and - pg_get_result is used to get query result - one by one. It returns result resource. If there is no more - results, it returns &false;. + pg_get_result gets the result resource from + an asynchronous query executed by + pg_send_query, pg_send_query_params or + pg_send_execute. + + pg_send_query and the + other asynchronous query functions + can send multiple queries to a PostgreSQL server and + pg_get_result is used to get each query's results, + one by one. + + + + + &reftitle.parameters; + + + + connection + + + PostgreSQL database connection resource. + + + + + + + + + &reftitle.returnvalues; + + The result resource, or &false; if no more results are available. + + + + + &reftitle.examples; + + + <function>pg_get_result</function> example + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + pg_send_query +