4.4. Asynchronous Query Processing Commands

pg_sendquery — Send an SQL command to the server for asynchronous execution
pg_sendquery_params — Send a parameterized SQL command to the server for asynchronous execution
pg_sendquery_prepared — Send a pre-prepared SQL command to the server for asynchronous execution
pg_isbusy — See if pg_getresult will block
pg_getresult — Wait for and return result from asynchronous SQL command
pg_cancelrequest — Cancel an in-progress asynchronous query
pg_blocking — Get or set the connection mode - blocking or nonblocking
pg_result_callback — Set a callback for asynchronous SQL command result availability

The commands in this section are used for asynchronous queries. This allows sending queries to the database server and continue Tcl processing without waiting for results. Note that the commands in this section are not available in pgintcl.

SourceForge.net Logo

This version of the manual was produced for the Pgtcl-ng Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the Pgtcl-ng project downloads area.