Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aewEh-0007Bh-3H for pgsql-committers@arkaria.postgresql.org; Sun, 13 Mar 2016 02:58:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aewEg-0000AB-EJ for pgsql-committers@arkaria.postgresql.org; Sun, 13 Mar 2016 02:58:30 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aewET-0008Ga-2K for pgsql-committers@postgresql.org; Sun, 13 Mar 2016 02:58:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aewEQ-0006Fp-4N for pgsql-committers@postgresql.org; Sun, 13 Mar 2016 02:58:15 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u2D2wBaF028340; Sat, 12 Mar 2016 21:58:11 -0500 From: Tom Lane To: Andres Freund cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Widen query numbers-of-tuples-processed counters to uint64. In-reply-to: References: Comments: In-reply-to Andres Freund message dated "Sat, 12 Mar 2016 13:14:09 -0800" Date: Sat, 12 Mar 2016 21:58:11 -0500 Message-ID: <28339.1457837891@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-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Andres Freund writes: > On March 12, 2016 1:05:46 PM PST, Tom Lane wrote: >> Most values associated with FETCH/MOVE distances, such as PortalRun's >> count argument and the count argument of most SPI functions that have >> one, remain declared as "long". It's not clear whether it would be >> worth promoting those to int64; but it would definitely be a large >> dollop of additional API churn on top of this, and it would only help >> 32-bit platforms which seem relatively less likely to see any benefit. > There's also windows, where long is 32 bit, even on 64bit platforms... I'm not personally excited about doing a lot of work, and possibly breaking a lot (more) extensions, to provide a mostly-academic benefit to Windows64 and little else. But, if someone else wants to tackle it I won't stand in the way. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers