pg_sendquery
sends a command to the database and
returns immediately, without waiting for the command to complete and
without providing a result handle.
The handle of the connection on which to execute the command.
The SQL command to execute.
Use pg_isbusy to see if the command is still being executed, and use pg_getresult to get the result when the command has completed.
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. |