<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Asynchronous Query Processing Commands</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Pgtcl Reference Manual" HREF="index.html"><LINK REL="UP" TITLE="pgtcl Command Reference" HREF="pgtcl-ref.html"><LINK REL="PREVIOUS" TITLE="pg_unescape_bytea" HREF="pg-unescape-bytea.html"><LINK REL="NEXT" TITLE="pg_sendquery" HREF="pg-sendquery.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="stylesheet.css"><META NAME="creation" CONTENT="2004-11-09T00:53:06"></HEAD ><BODY CLASS="SECT1" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Pgtcl Reference Manual: The PostgreSQL Tcl Interface</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="pg-unescape-bytea.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 4. <SPAN CLASS="APPLICATION" >pgtcl</SPAN > Command Reference</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="pg-sendquery.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="PGTCL-REF-ASYNC" >4.4. Asynchronous Query Processing Commands</A ></H1 ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT ><A HREF="pg-sendquery.html" >pg_sendquery</A > -- Send query asynchronously</DT ><DT ><A HREF="pg-isbusy.html" >pg_isbusy</A > -- See if pg_getresult will block</DT ><DT ><A HREF="pg-getresult.html" >pg_getresult</A > -- Wait for and return result from asynchronous query</DT ><DT ><A HREF="pg-cancelrequest.html" >pg_cancelrequest</A > -- Cancel an in-progress asynchronous query</DT ><DT ><A HREF="pg-blocking.html" >pg_blocking</A > -- Get or set the connection mode - blocking or nonblocking</DT ></DL ></DIV ><BLOCKQUOTE CLASS="ABSTRACT" ><DIV CLASS="ABSTRACT" ><P ></P ><A NAME="AEN1807" ></A ><P >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 <SPAN CLASS="APPLICATION" >pgintcl</SPAN >. </P ><P ></P ></DIV ></BLOCKQUOTE ><DIV CLASS="CAUTION" ><P ></P ><TABLE CLASS="CAUTION" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >Caution</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >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. </P ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="pg-unescape-bytea.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="pg-sendquery.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >pg_unescape_bytea</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="pgtcl-ref.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >pg_sendquery</TD ></TR ></TABLE ></DIV ></BODY ></HTML >