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

From: Віталій Тимчишин <tivv00(at)gmail(dot)com>
To: 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 08:11:00
Message-ID: CABWW-d0mOUWM6txn5QnxMk=Sch6v5BDewnAr-VtD_=e4dHMMFw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-sql

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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2011-12-15 11:21:11 Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?
Previous Message Craig Ringer 2011-12-15 04:45:57 Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?

Browse pgsql-sql by date

  From Date Subject
Next Message Dave Cramer 2011-12-15 11:21:11 Re: Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?
Previous Message Craig Ringer 2011-12-15 04:45:57 Re: [SQL] JDBC Statement.setQueryTimeout : is there plan to implement this?