[HACKERS] Huge pages support on Windows - Mailing list pgsql-hackers

From Andrea caldarone
Subject [HACKERS] Huge pages support on Windows
Date
Msg-id CAP=EKryr8gwqEgZoNtNPKfHiBOA1yOaOyYkdHzfxzedKKhFK-A@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Huge pages support on Windows  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
List pgsql-hackers
Hi all,

First of all bear with me since I'm new in PostgreSQL world, I'm SQL Server DBA with 20yrs experience.
I've seen the thread started by Tsunakawa Takayuki about huge pages support on windows and his version of pg_ctl.c in commit fest.
I see no information anywhere about how to recompile only the pg_ctl.exe in Windows or how to apply a .patch file in Windows.
I've used Mingw64 to build the whole PostgreSQL from source code and I succeded, then I tried to the pg_ctl.c in source files with the pg_ctl.exe modified by Tsunakawa Takayuki, I've taken only the pg_ctl.exe generated and put in my Windows machine, it works but when I try to enable huge pages in the postresql.conf, the service fails to start with the message "CEST FATAL:  huge pages not supported on this platform"

Anyone can point me in the right direction?

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Making server name part of the startup message
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] WIP: Data at rest encryption