Support huge pages on Windows

Enterprise / PostgreSQL - Magnus Hagander [hagander.net] - 21 January 2018 14:40 EST

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

1cc4f536ef Support huge pages on Windows
doc/src/sgml/config.sgml | 20 +++++--
src/backend/port/win32_shmem.c | 127 +++++++++++++++++++++++++++++++++++++----
src/backend/utils/misc/guc.c | 2 +-
src/bin/pg_ctl/pg_ctl.c | 77 ++++++++++++++++++++++---
4 files changed, 204 insertions(+), 22 deletions(-)

Upstream: git.postgresql.org


  • Share