On Sat, Nov 20, 2010 at 12:41 AM, Rob Brown-Bayliss
<r.brown.bayliss@gmail.com> wrote:
> I am trying to catch time outs etc, basically after a set amount of
> time I am assuming something has failed.
Just set a statement timeout before running your potentially long
queries. Your client code will return an error which you can then
detect and react to properly.