Cause the archiver process to adopt new postgresql.conf settings (particularly
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 May 2010 16:42:28 +0000 (16:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 May 2010 16:42:28 +0000 (16:42 +0000)
commit4a69624f495363810371a9178b0c5a5f5336e70e
tree5282c37ad24957ecc86ee1153849866a43a2c124
parent8b8009a20dbc26a75cc1d5b79490cf64d802e2a7
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.
src/backend/postmaster/pgarch.c