aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-11-08 06:49:50 +0200
committerPeter Eisentraut <peter_e@gmx.net>2011-11-08 06:50:46 +0200
commit97c3d4853b3b095e3dadf80156a89b231f51e784 (patch)
treebf038adad7660c3da02a17e5682d8e73e12b2c27
parent27864da6b1cf9fb3f29dc5abe1eba333cbc4ba77 (diff)
downloadpostgresql-97c3d4853b3b095e3dadf80156a89b231f51e784.tar.gz
postgresql-97c3d4853b3b095e3dadf80156a89b231f51e784.zip
-DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS
-rw-r--r--doc/src/sgml/runtime.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 68ceff15303..c684693f9fb 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1342,7 +1342,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.