Re: patch: complain obviously about unknown transaction states

Lists: pgsql-jdbc
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
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

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: patch: complain obviously about unknown transaction states
Date: 2004-07-09 23:58:40
Message-ID: Pine.BSO.4.56.0407091858270.17806@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-jdbc

On Mon, 5 Jul 2004, Oliver Jowett wrote:

> 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).
>

Applied.

Kris Jurka