1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-14 08:21:07 +03:00

Rename huge_tlb_pages to huge_pages, and improve docs.

Christian Kruse
This commit is contained in:
Heikki Linnakangas
2014-03-03 20:52:48 +02:00
parent 9067310cc5
commit f8ce16d0d2
7 changed files with 92 additions and 45 deletions

View File

@ -128,10 +128,10 @@ PGSharedMemoryCreate(Size size, bool makePrivate, int port)
DWORD size_high;
DWORD size_low;
if (huge_tlb_pages == HUGE_TLB_ON)
if (huge_pages == HUGE_PAGES_ON)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("huge TLB pages not supported on this platform")));
errmsg("huge pages not supported on this platform")));
/* Room for a header? */
Assert(size > MAXALIGN(sizeof(PGShmemHeader)));