]> granicus.if.org Git - postgresql/commit
Cause the archiver process to adopt new postgresql.conf settings (particularly
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 May 2010 16:42:40 +0000 (16:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 May 2010 16:42:40 +0000 (16:42 +0000)
commit4ba26e29d7e4daa88588aa1ae50cce1b9bfb52e1
tree5eba8a3e4b148285ee9fdeeef1697b21d2888946
parentba7b77133e086c424620f8675e78948c932f6df7
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