4.4. Asynchronous Query Processing Commands

pg_sendquery — Send query asynchronously
pg_isbusy — See if pg_getresult will block
pg_getresult — Wait for and return result from asynchronous query
pg_cancelrequest — Cancel an in-progress asynchronous query
pg_blocking — Get or set the connection mode - blocking or nonblocking

Abstract

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.

Caution

The commands in this section are part of a new Tcl interface to asynchronous query processing capabilities, and should be considered experimental. The commands may change, and backwards compatibility is not assured.