Can timeout duration be set?
Started by lecabout 25 years ago3 messagesgeneral
Re: Can timeout duration be set?
On Wed, Apr 04, 2001 at 03:04:59PM +0800, lec wrote:
Is it possible to set the timeout duration for a query?
If you're using C/C++ interface, look at the asynchronous query
functions. It's a little more work, but not much. You'll have to
supply your own timing routine and/or you might provide a method for the
user to cancel the query (like with a pop-up window...).
--
Eric G. Miller <egm2@jps.net>
Re: Can timeout duration be set?
lec writes:
Is it possible to set the timeout duration for a query?
No, but your client application can use a libpq API call to cancel the
query, after a timeout if you wish.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/