pg_getresult - process asychronous results

NAME  SYNOPSIS  DESCRIPTION  ARGUMENTS  RETURN VALUE 

NAME

pg_getresult − process asychronous results

SYNOPSIS

pg_getresult conn

DESCRIPTION

pg_getresult checks to see if any commands issued by pg_sendquery have completed.

This will return the same sort of result handle that pg_exec returns.

If there is no query currently being processed or all of the results have been obtained, pg_getresult returns nothing.

ARGUMENTS

conn

The handle of a connection to the database to which asynchronous requests are being issued.

RETURN VALUE

If a query result is available, a command result object is returned. This handle can be passed to pg_result to obtain the results of the command.

If there is no query currently being processed or all of the results have been obtained, pg_getresult returns nothing.


Updated 2024-01-29 - jenkler.se | uex.se