Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception
Date
Msg-id alpine.BSO.2.00.1301111221410.28737@leary.csoft.net
Whole thread Raw
In response to Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception  (Stefan Reiser <s.reiser@tu-braunschweig.de>)
List pgsql-jdbc

On Fri, 11 Jan 2013, Dave Cramer wrote:

> Ok, I've pushed this fix into master
>

You've made any failure to parse the affected row count return
SUCCESS_NO_INFO.  Shouldn't you change the integer parsing to a long
parsing and only modify the response if the value is > INT_MAX while still
throwing an exception if we get something that is truly undecipherable?

Kris Jurka


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception
Next
From: Stefan Reiser
Date:
Subject: Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception