From: Jeremy Buchmann <jeremy@wellsgaming.com>
To: Jie Liang <jliang@ipinc.com>
Cc: pgsql-admin@postgresql.org, pgsql sql <pgsql-sql@postgresql.org>
Subject: Re: timeout
Date: Thu, 28 Jun 2001 13:24:12 -0700
Message-ID: <200106282023.NAA22036@mail.greatbasin.net> (raw)
In-Reply-To: <Pine.BSF.4.10.10106281154540.75519-100000@tidal.ipinc.com>
> Is ther any to set a timeout when execute a sql stmt??
I believe this depends on the interface...for example, in JDBC, it
is this:
Statement s = new Statement();
s.setQueryTimeout(20); // Sets query timeout to 20 seconds.
...
I don't know what other interfaces offer timeouts, but that's where
you should look to find out.
--Jeremy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jeremy@wellsgaming.com, jliang@ipinc.com
Subject: Re: timeout
In-Reply-To: <200106282023.NAA22036@mail.greatbasin.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox