Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6477d66

Browse files
committed
-DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS
1 parent b60653b commit 6477d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ echo -17 > /proc/self/oom_adj
13421342
Note that this action must be done as root, or it will have no effect;
13431343
so a root-owned startup script is the easiest place to do it. If you
13441344
do this, you may also wish to build <productname>PostgreSQL</>
1345-
with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CFLAGS</>.
1345+
with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CPPFLAGS</>.
13461346
That will cause postmaster child processes to run with the normal
13471347
<varname>oom_adj</> value of zero, so that the OOM killer can still
13481348
target them at need.

0 commit comments

Comments
 (0)