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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Widen query numbers-of-tuples-processed counters to uint64.
Date: 2016-03-12 21:14:09
Message-ID: E9F6CB0D-971A-42CF-BF1C-A89DCEE321D4@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-12 23:17:05 pgsql: Get rid of scribbling on a const variable in psql's print.c.
Previous Message Tom Lane 2016-03-12 21:05:46 pgsql: Widen query numbers-of-tuples-processed counters to uint64.