Skip site navigation (1) Skip section navigation (2)

Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Віталій Тимчишин <tivv00(at)gmail(dot)com>
Cc: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?
Date: 2011-12-15 11:21:11
Message-ID: CADK3HH+LiSGB_pEeeX6oYb2Xdd1K9ND6eNcLtVp-SqU6D9We_g@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-sql
I implemented it in the current CVS. Please test

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca



2011/12/15 Віталій Тимчишин <tivv00(at)gmail(dot)com>:
>
>
> 2011/12/15 Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
>>
>>
>> Perhaps more excitingly, a generic ThreadPoolExecutor can be safely used
>> within an EE container the same way, potentially allowing the JDBC driver to
>> use threads for blocking I/O. That'd finally permit a version of
>> PgConnection.getNotifications() that can be safely invoked without blocking
>> when SSL is in use!
>>
>> A driver thread pool could also help permanently fix those occasional
>> deadlocks that happen due to buffer management issues in the JDBC driver.
>>
>> I'll try to find time to do some testing and see if I can make this work
>> or at least bash out a proof of concept.
>>
>> ?
>
> How about moving to NIO? Or may be I could try it myself. Can you give me a
> class name I need to dig into transport layer?
>
> --
> Best regards,
>  Vitalii Tymchyshyn

In response to

pgsql-sql by date

Next:From: Radosław SmoguraDate: 2011-12-15 11:29:58
Subject: Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?
Previous:From: Віталій ТимчишинDate: 2011-12-15 08:11:00
Subject: Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?

pgsql-jdbc by date

Next:From: Radosław SmoguraDate: 2011-12-15 11:29:58
Subject: Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?
Previous:From: Віталій ТимчишинDate: 2011-12-15 08:11:00
Subject: Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group