patch: complain obviously about unknown transaction states

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: patch: complain obviously about unknown transaction states
Date: 2004-07-05 03:16:22
Message-ID: 40E8C806.6070902@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

ReadyForQuery may change in 7.5, per discussion on -hackers:

http://archives.postgresql.org/pgsql-hackers/2004-07/msg00184.php

The attached patch makes the driver generate errors on unknown
transaction states in a ReadyForQuery message, rather than silently
ignoring them (and probably getting confused).

-O

Attachment Content-Type Size
pgjdbc-check-transaction-state.txt text/plain 1.4 KB

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2004-07-05 14:15:11 ResultSetTest
Previous Message Stephan Szabo 2004-07-05 01:41:29 Re: [JDBC] Error in DatabaseMetaData.getColumns() with Views