Re: 64-bit integers for GUC - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 64-bit integers for GUC
Date
Msg-id 8370.1153829755@sss.pgh.pa.us
Whole thread Raw
In response to 64-bit integers for GUC  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> ISTM that before long someone will want to use more than 2 GB for work_mem.  
> Currently, you can't set more because it overflows the variable.

Yes you can, because the value is measured in KB.

Now, if you were to redefine it as being measured in bytes, you would
have a backlash, because people already are using values above 2GB.

> I'm not sure a wholesale switch of GUC integers to 64 bit is the
> solution.

I'd be fairly worried about whether that wouldn't mean we fail
completely on INT64_IS_BROKEN platforms ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Forcing current WAL file to be archived
Next
From: Tom Lane
Date:
Subject: Re: Forcing current WAL file to be archived