pg_getresult
Name
pg_getresult -- Wait for and return result from asynchronous query
Synopsis
pg_getresult conn
Description
pg_getresult
waits for the database server to
complete a pending asynchronous query, and returns a result handle
for the query.
Arguments
- conn
The handle of the connection to get a result from.
Return Value
A result handle from the execution of pg_sendquery.
There are no error conditions.
This command will block until a result is available. If no
asynchronous query is pending, it returns an empty string.
Notes
Caution |
This command is part of a new Tcl interface to asynchronous query
processing capabilities, and should be considered experimental.
The command may change and backwards compatibility is not assured.
|