From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | "Crowson, Sarah J Ms (Contractor) Northrop Grumman" <Sarah(dot)Crowson(at)us(dot)army(dot)mil> |
Cc: | "'pgsql-admin(at)postgresql(dot)org'" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Fatal: 2149478 (UNCLASSIFIED) |
Date: | 2006-05-11 15:51:46 |
Message-ID: | 20060511155146.GE9051@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Crowson, Sarah J Ms (Contractor) Northrop Grumman wrote:
> I am trying to set up my postgresql.conf file for Postgres 8.1. I am
> setting up the maintenance_work_mem (this has also happened with the
> work_mem) and I receive this error:
> Fatal: 2149478 is outside the valid range for parameter
> "maintenance_work_mem" ............
Valid values for that parameter is INT_MAX / 1024. INT_MAX is defined
here as
$ grep 'define.* INT_MAX' /usr/include/limits.h
# define INT_MAX 2147483647
So that puts the maximum at 2097151, which you are exceeding. This
assume your platform is similar to mine (size_t == 4 bytes).
$ dc
2147483647 1024 / p
2097151
Note the size is measured in kilobytes.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2006-05-11 16:07:27 | Re: Fatal: 2149478 (UNCLASSIFIED) |
Previous Message | mcelroy, tim | 2006-05-11 15:29:43 | Re: Fatal: 2149478 (UNCLASSIFIED) |