Re: Transaction state on connection Idle/Open/Failed

2019-08-17 Thread Adrian Klaver
On 8/16/19 12:57 PM, David Wall wrote: In JDBC (latest version), I'm using the org.postgresql.jdbc.PgConnection.getTransactionState() that returns an enumeration of IDLE, OPEN or FAILED. I am familiar with IDLE, meaning the connection has a new transaction started, but isn't doing anything. 

Transaction state on connection Idle/Open/Failed

2019-08-16 Thread David Wall
In JDBC (latest version), I'm using the org.postgresql.jdbc.PgConnection.getTransactionState() that returns an enumeration of IDLE, OPEN or FAILED. I am familiar with IDLE, meaning the connection has a new transaction started, but isn't doing anything.  We think of this as the "normal" state