Re: "long" type is not appropriate for counting tuples - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: "long" type is not appropriate for counting tuples
Date
Msg-id 680a62ca-4203-4f13-bb15-cbc03040a5b6@2ndquadrant.com
Whole thread Raw
In response to Re: "long" type is not appropriate for counting tuples  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2019-07-02 22:56, Tom Lane wrote:
> I took a look through these and see nothing objectionable.  There are
> probably more places that can be improved, but we need not insist on
> getting every such place in one go.
> 
> Per Robert's position that variables ought to have well-defined widths,
> there might be something to be said for not touching the variable
> declarations that you changed from int64 to long long, and instead
> casting them to long long in the sprintf calls.  But I'm not really
> convinced that that's better than what you've done.
> 
> Marked CF entry as ready-for-committer.

committed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [PATCH] Incremental sort (was: PoC: Partial sort)
Next
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Implement uuid_version()