Re: Problem with JTA/JTS - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Problem with JTA/JTS
Date
Msg-id 6378.1024065974@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem with JTA/JTS  (Dave Cramer <Dave@micro-automation.net>)
Responses Re: Problem with JTA/JTS
List pgsql-jdbc
Dave Cramer <Dave@micro-automation.net> writes:
> Ok, the problem is that PostgresDataSource does NOT pool connections.

Well, that answers that ...

On reflection though, the behavior Johan reports seems curious.  Is it
really possible that new connections could be launched faster than old
ones shut down?  The backend startup time is not trivial, and he is
executing a query on each connection too.  It's hard to believe that the
backend shutdown time exceeds startup + query time.

Can you think of any reason why the client-side connection closure might
not get signaled to the backend immediately?  If, say, there were some
kind of TCP timeout involved, then the report would make a whole lot
more sense.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Problem with JTA/JTS
Next
From: Dave Cramer
Date:
Subject: Re: Problem with JTA/JTS