Thread

  1. Can timeout duration be set?

    lec <englim@pc.jaring.my> — 2001-04-04T07:04:59Z

    Is it possible to set the timeout duration for a query?
    
    Thomas.
    
    
    
  2. Re: Can timeout duration be set?

    Eric G. Miller <egm2@jps.net> — 2001-04-08T06:16:35Z

    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>
    
    
  3. Re: Can timeout duration be set?

    Peter Eisentraut <peter_e@gmx.net> — 2001-04-08T10:10:18Z

    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/