diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-11-08 06:49:50 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-11-08 06:49:50 +0200 |
commit | 6477d66780df0682e36e676fd746356bb23bf7ce (patch) | |
tree | 7a20118ad40daf1133c1382a456c1a63d13da561 /doc/src | |
parent | b60653bc0b75b7f3b5dda0a2968a22129aafb2b2 (diff) | |
download | postgresql-6477d66780df0682e36e676fd746356bb23bf7ce.tar.gz postgresql-6477d66780df0682e36e676fd746356bb23bf7ce.zip |
-DLINUX_OOM_ADJ=0 should be in CPPFLAGS, not CFLAGS
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/runtime.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 86499c67ac5..08f9fd0b20f 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. |