Talk About Network

Google





Data Bases > Pgsql Interfaces Jdbc > Re: setQueryTim...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 1861 of 2101
Post > Topic >>

Re: setQueryTimeout

by gc@[EMAIL PROTECTED] (Guillaume Cottenceau) Jan 14, 2008 at 05:56 PM

Kris Jurka <books 'at' ejurka.com> writes:

> On Mon, 14 Jan 2008, Guillaume Cottenceau wrote:
>
>> Would "throw new Unsup****tedOperationException()" be good to tell
>> that fact to the users of the driver more directly?
>>
>
> That's unknown.  It's unclear how many applications might be calling
> setQueryTimeout and not be prepared for an exception.  So while
> they're slightly broken now, they could be completely broken with this
> change.  If people feel strongly about it we could consider making the
> change in the 8.3dev driver, but I wouldn't backpatch it.

Personnally, I think that developers will most likely expect the
behaviour to be correct if nothing bad (exception) happens.. I'd
say that all unsup****ted API should throw an appropriate
exception. Doing the change in 8.3dev makes perfect sense to not
break current users, and developers would be crazy to drop in the
8.3 in the future without testing their application again. /me
votes really in favor of that :)

-- 
Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent
Company
Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36

---------------------------(end of broadcast)---------------------------
TIP 7: You can help sup****t the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate
 




 6 Posts in Topic:
setQueryTimeout
urpi@[EMAIL PROTECTED] (  2008-01-14 15:40:08 
Re: setQueryTimeout
books@[EMAIL PROTECTED]   2008-01-14 11:28:45 
Re: setQueryTimeout
books@[EMAIL PROTECTED]   2008-01-14 11:45:16 
Re: setQueryTimeout
books@[EMAIL PROTECTED]   2008-01-14 22:30:39 
Re: setQueryTimeout
gc@[EMAIL PROTECTED] (Gu  2008-01-14 17:34:53 
Re: setQueryTimeout
gc@[EMAIL PROTECTED] (Gu  2008-01-14 17:56:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 19:55:55 PST 2009.