From: | Craig Ringer <ringerc(at)ringerc(dot)id(dot)au> |
---|---|
To: | Sylvain Mougenot <smougenot(at)sqli(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: JDBC Statement.setQueryTimeout : is there plan to implement this? |
Date: | 2011-12-14 13:42:14 |
Message-ID: | 4EE8A7B6.7090801@ringerc.id.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc pgsql-sql |
On 14/12/2011 9:29 PM, Sylvain Mougenot wrote:
> Even if the behaviour is not implemented, I guess it could be "mocked"
> if the call to Statement.setQueryTimeout(int seconds) generated the
> select statement "SELECT statement_timeout(SEC)".
> I know this is not ideal but could solve the problem temporarily.
> I could even be turned on by some driver settings.
Please search the mailing list archives for discussion on this topic:
http://www.postgresql.org/search/?m=1&q=setQueryTimeout+&l=&d=-1&s=d
<http://www.postgresql.org/search/?m=1&q=setQueryTimeout+&l=&d=-1&s=d>
IIRC there are server backend changes required to make it possible to
implement setQueryTimeout, and nobody's come up with an acceptable
patch. I haven't followed the issue so I could easily be mistaken, though.
--
Craig Ringer
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2011-12-14 14:01:37 | Re: JDBC Statement.setQueryTimeout : is there plan to implement this? |
Previous Message | Sylvain Mougenot | 2011-12-14 13:29:39 | JDBC Statement.setQueryTimeout : is there plan to implement this? |
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2011-12-14 14:01:37 | Re: JDBC Statement.setQueryTimeout : is there plan to implement this? |
Previous Message | Sylvain Mougenot | 2011-12-14 13:29:39 | JDBC Statement.setQueryTimeout : is there plan to implement this? |