pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
timeout
2+ messages / 2 participants
[nested] [flat]

* timeout
@ 2001-06-28 18:56  Jie Liang <jliang@ipinc.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jie Liang @ 2001-06-28 18:56 UTC (permalink / raw)
  To: pgsql-admin@postgresql.org; +Cc: pgsql-sql


Is ther any to set a timeout when execute a sql stmt??



Jie LIANG

St. Bernard Software

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

jliang@ipinc.com
www.stbernard.com
www.ipinc.com





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: timeout
@ 2001-06-28 20:24  Jeremy Buchmann <jeremy@wellsgaming.com>
  parent: Jie Liang <jliang@ipinc.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeremy Buchmann @ 2001-06-28 20:24 UTC (permalink / raw)
  To: Jie Liang <jliang@ipinc.com>; +Cc: pgsql-sql

> 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-06-28 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-28 18:56 timeout Jie Liang <jliang@ipinc.com>
2001-06-28 20:24 ` Jeremy Buchmann <jeremy@wellsgaming.com>

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