]> granicus.if.org Git - postgresql/commitdiff
-DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 8 Nov 2011 04:49:50 +0000 (06:49 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 8 Nov 2011 04:51:01 +0000 (06:51 +0200)
doc/src/sgml/runtime.sgml

index d11c5bc8cfc45a537924b3477c260bc45e28453b..dc474a6c345c0045938287f9ee1e2059e14fafb3 100644 (file)
@@ -1291,7 +1291,7 @@ echo -17 > /proc/self/oom_adj
     Note that this action must be done as root, or it will have no effect;
     so a root-owned startup script is the easiest place to do it.  If you
     do this, you may also wish to build <productname>PostgreSQL</>
-    with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CFLAGS</>.
+    with <literal>-DLINUX_OOM_ADJ=0</> added to <varname>CPPFLAGS</>.
     That will cause postmaster child processes to run with the normal
     <varname>oom_adj</> value of zero, so that the OOM killer can still
     target them at need.