pg_results conn
pg_results returns a list off all of the PostgreSQL result handles returned by pg_exec, pg_exec_prepared, pg_sendquery, pg_sendquery_prepared, etc.
pg_results
pg_exec
pg_exec_prepared
pg_sendquery
pg_sendquery_prepared
The handle of the connection on which to listen for notifications.
A list of all of the result handles that haven't been cleared with pg_result -clear.
pg_result
The list can be empty if there are no uncleared result handles.