Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tm91u-0000wS-S4 for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Dec 2012 20:17:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tm91t-0004cK-Sq for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Dec 2012 20:17:13 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tm91t-0004cB-BC; Fri, 21 Dec 2012 20:17:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tm91p-0001uh-MC; Fri, 21 Dec 2012 20:17:12 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qBLKH61B006060; Fri, 21 Dec 2012 15:17:07 -0500 (EST) From: Tom Lane To: Dave Cramer cc: zelaine@amazon.com, pgsql-bugs@postgresql.org, List Subject: Re: [JDBC] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception In-reply-to: References: <17929.1356108458@sss.pgh.pa.us> Comments: In-reply-to Dave Cramer message dated "Fri, 21 Dec 2012 13:55:43 -0500" Date: Fri, 21 Dec 2012 15:17:06 -0500 Message-ID: <6059.1356121026@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Dave Cramer writes: > So an unsigned long won't fit inside a java long either, but hopefully it > will never be necessary. That would be a huge number of changes. I think we'll all be safely dead by the time anybody manages to process 2^63 rows in one PG command ;-). If you can widen the value from int to long on the Java side, that should be sufficient. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs