1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Support huge pages on Windows

Add support for huge pages (called large pages on Windows) to the
Windows build.

This (probably) breaks compatibility with Windows versions prior to
Windows 2003 or Windows Vista.

Authors: Takayuki Tsunakawa and Thomas Munro
Reviewed by: Magnus Hagander, Amit Kapila
This commit is contained in:
Magnus Hagander
2018-01-21 15:40:46 +01:00
parent 5c15a54e85
commit 1cc4f536ef
4 changed files with 204 additions and 22 deletions

View File

@ -3913,7 +3913,7 @@ static struct config_enum ConfigureNamesEnum[] =
{
{"huge_pages", PGC_POSTMASTER, RESOURCES_MEM,
gettext_noop("Use of huge pages on Linux."),
gettext_noop("Use of huge pages on Linux or Windows."),
NULL
},
&huge_pages,