Re: confused about transactions and connection pools - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: confused about transactions and connection pools
Date
Msg-id 45473968.1050703@opencloud.com
Whole thread Raw
In response to Re: confused about transactions and connection pools  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: confused about transactions and connection pools
List pgsql-jdbc
Tom Lane wrote:
> I'm a bit
> dubious that the prepared-statement machinery actually results in a win
> compared to just issuing simple Query messages.

The driver has no infrastructure for issuing simple Query messages in v3
mode, and anyway we want to batch the BEGIN up with the query that
follows it.

COMMIT/ROLLBACK might be of dubious value but I don't know if it's worth
having a completely separate code path in the driver just for that one case.

-O

pgsql-jdbc by date:

Previous
From: Tom Arthurs
Date:
Subject: Re: Date time format out of range????
Next
From: Oliver Jowett
Date:
Subject: Re: confused about transactions and connection pools