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:
@ -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)));
|
||||
|
Reference in New Issue
Block a user