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

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

Commit: 4ba26e29d7e4daa88588aa1ae50cce1b9bfb52e1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-05-11T16:42:40Z
Releases: 8.3.11
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