Document that not backing up postmaster.pid and postmaster.opts might

help prevent pg_ctl from getting confused.

Backpatch to 9.1.
This commit is contained in:
Bruce Momjian 2011-10-11 17:33:20 -04:00
parent 600d3206d1
commit 47cacfc0f1

View File

@ -869,7 +869,11 @@ SELECT pg_stop_backup();
of mistakes when restoring. This is easy to arrange if of mistakes when restoring. This is easy to arrange if
<filename>pg_xlog/</> is a symbolic link pointing to someplace outside <filename>pg_xlog/</> is a symbolic link pointing to someplace outside
the cluster directory, which is a common setup anyway for performance the cluster directory, which is a common setup anyway for performance
reasons. reasons. You might also want to exclude <filename>postmaster.pid</>
and <filename>postmaster.opts</>, which record information
about the running <application>postmaster</>, not about the
<application>postmaster</> which will eventually use this backup.
(These files can confuse <application>pg_ctl</>.)
</para> </para>
<para> <para>