Cause the archiver process to adopt new postgresql.conf settings (particularly

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4a69624f495363810371a9178b0c5a5f5336e70e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-05-11T16:42:28Z
Releases: 9.0.0
Cause the archiver process to adopt new postgresql.conf settings (particularly
archive_command) as soon as possible, namely just before issuing a new call
of archive_command, even when there is a backlog of files to be archived.
The original coding would only absorb new settings after clearing the backlog
and returning to the outer loop.  Per discussion.

Back-patch to 8.3.  The logic in prior versions is a bit different and it
doesn't seem worth taking any risks of breaking it.

Files

PathChange+/−
src/backend/postmaster/pgarch.c modified +20 −9