Re: pgsql: Widen query numbers-of-tuples-processed counters to uint64. - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Widen query numbers-of-tuples-processed counters to uint64.
Date
Msg-id E9F6CB0D-971A-42CF-BF1C-A89DCEE321D4@anarazel.de
Whole thread Raw
In response to pgsql: Widen query numbers-of-tuples-processed counters to uint64.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Widen query numbers-of-tuples-processed counters to uint64.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers

On March 12, 2016 1:05:46 PM PST, Tom Lane <tgl@sss.pgh.pa.us> 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...

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Widen query numbers-of-tuples-processed counters to uint64.
Next
From: Tom Lane
Date:
Subject: pgsql: Get rid of scribbling on a const variable in psql's print.c.