pg document is not recorded:maintenance_work_mem can not large than 2GB in windows - Mailing list pgsql-docs

From yanliang lei
Subject pg document is not recorded:maintenance_work_mem can not large than 2GB in windows
Date
Msg-id 360f5fd7.46a.1822e5e2eaf.Coremail.msdnchina@163.com
Whole thread Raw
Responses Re: pg document is not recorded:maintenance_work_mem can not large than 2GB in windows  ("Euler Taveira" <euler@eulerto.com>)
List pgsql-docs

pg document is not  recorded:maintenance_work_mem can not large than 2GB in windows。

https://www.postgresql.org/docs/14/runtime-config-resource.html


I suggest that:modify maintenance_work_mem parameter description in the pg documents:

add maintenance_work_mem parameter size limit in windows platform


if you set maintenance_work_mem large that 2GB in windows platform

postgresql service can not start。 

in the windows event viewer ,thare is the following error:

"ERROR: 3072000 is outside the valid range for parameter "maintenance_work_mem" (64 .. 2097151)


and the work_mem parameter also has similar problems as above。

https://www.postgresql.org/message-id/17895.1315869622@sss.pgh.pa.us


so, It is best to add this description to the document about work_mem and maintenance_work_mem parameter


pgsql-docs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: gettext instructions for Windows seems wrong
Next
From: Tom Lane
Date:
Subject: Re: Correction