Re: Removing "long int"-related limit on hash table sizes - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Removing "long int"-related limit on hash table sizes
Date
Msg-id 202107261920.qjpynrwme6cc@alvherre.pgsql
Whole thread Raw
In response to Re: Removing "long int"-related limit on hash table sizes  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Removing "long int"-related limit on hash table sizes
List pgsql-hackers
On 2021-Jul-25, Ranier Vilela wrote:

> > BTW, one aspect of this that I'm unsure how to tackle is the
> > common usage of "L" constants; in particular, "work_mem * 1024L"
> > is a really common idiom that we'll need to get rid of.  Not sure
> > that grep will be a useful aid for finding those.
> >
> I can see 30 matches in the head tree. (grep -d "1024L" *.c)

grep grep '[0-9]L\>' -- *.[chyl]
shows some more constants.

-- 
Álvaro Herrera           39°49'30"S 73°17'W  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Delegating superuser tasks to new security roles (Was: Granting control of SUSET gucs to non-superusers)
Next
From: Tomas Vondra
Date:
Subject: Re: list of extended statistics on psql (\dX)