Re: "long" type is not appropriate for counting tuples

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: "long" type is not appropriate for counting tuples
Date: 2019-04-29 18:24:23
Message-ID: 20190429182423.iyzpg3gk4gfsa7vi@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2019-04-29 11:18:49 -0700, Peter Geoghegan wrote:
> On Mon, Apr 29, 2019 at 11:10 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > If we don't want to rely on "L" constants then we'll have to write these
> > cases like "work_mem * (size_t) 1024" which is ugly, lots more keystrokes,
> > and prone to weird precedence problems unless you throw even more
> > keystrokes (parentheses) at it. I'm not excited about doing that just
> > to allow larger work_mem settings on Win64.
>
> I don't think that anybody cares about Win64 very much.

I seriously doubt this assertion. Note that the postgres packages on
https://www.postgresql.org/download/windows/ do not support 32bit
windows anymore (edb from 11 onwards, bigsql apparently always). And I
think there's a pretty substantial number of windows users out there.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2019-04-29 18:28:34 Re: "long" type is not appropriate for counting tuples
Previous Message Alvaro Herrera 2019-04-29 18:19:19 Re: "long" type is not appropriate for counting tuples