On Sun, Feb 26, 2017 at 2:44 AM, Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> I tend to be suspicious of use of the type "long" in general, because
> in general one should assume that it is no wider than "int". This
> calls into question why any code that uses "long" didn't just use
> "int", at least in my mind.
Yeah. Using things that are guaranteed to be the size we want them to
be (and the same size on all platforms) seems like a good plan.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company