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.
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.

lisakowen/gpdb,CraigHarris/gpdb,lisakowen/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,xinzweb/gpdb,ahachete/gpdb,lisakowen/gpdb,Chibin/gpdb,royc1/gpdb,edespino/gpdb,zaksoup/gpdb,xinzweb/gpdb,lintzc/gpdb,rvs/gpdb,janebeckman/gpdb,ashwinstar/gpdb,xinzweb/gpdb,kaknikhil/gpdb,0x0FFF/gpdb,zaksoup/gpdb,ashwinstar/gpdb,royc1/gpdb,edespino/gpdb,zaksoup/gpdb,Chibin/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,ahachete/gpdb,Quikling/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,xuegang/gpdb,0x0FFF/gpdb,adam8157/gpdb,janebeckman/gpdb,yuanzhao/gpdb,Quikling/gpdb,Quikling/gpdb,Chibin/gpdb,50wu/gpdb,adam8157/gpdb,royc1/gpdb,chrishajas/gpdb,Chibin/gpdb,cjcjameson/gpdb,rvs/gpdb,jmcatamney/gpdb,Quikling/gpdb,chrishajas/gpdb,jmcatamney/gpdb,janebeckman/gpdb,edespino/gpdb,edespino/gpdb,cjcjameson/gpdb,adam8157/gpdb,xuegang/gpdb,zaksoup/gpdb,zaksoup/gpdb,xuegang/gpdb,chrishajas/gpdb,greenplum-db/gpdb,royc1/gpdb,CraigHarris/gpdb,Quikling/gpdb,chrishajas/gpdb,cjcjameson/gpdb,xuegang/gpdb,cjcjameson/gpdb,rvs/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,Quikling/gpdb,xinzweb/gpdb,Chibin/gpdb,greenplum-db/gpdb,ahachete/gpdb,lintzc/gpdb,CraigHarris/gpdb,lisakowen/gpdb,lintzc/gpdb,edespino/gpdb,janebeckman/gpdb,edespino/gpdb,kaknikhil/gpdb,zaksoup/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,chrishajas/gpdb,janebeckman/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,janebeckman/gpdb,rvs/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,royc1/gpdb,lisakowen/gpdb,lintzc/gpdb,kaknikhil/gpdb,50wu/gpdb,ahachete/gpdb,ahachete/gpdb,rvs/gpdb,rvs/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,rvs/gpdb,adam8157/gpdb,0x0FFF/gpdb,xinzweb/gpdb,yuanzhao/gpdb,xuegang/gpdb,jmcatamney/gpdb,lisakowen/gpdb,adam8157/gpdb,Quikling/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,50wu/gpdb,ashwinstar/gpdb,CraigHarris/gpdb,rvs/gpdb,lisakowen/gpdb,50wu/gpdb,rvs/gpdb,edespino/gpdb,janebeckman/gpdb,ahachete/gpdb,chrishajas/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,zaksoup/gpdb,cjcjameson/gpdb,lisakowen/gpdb,Quikling/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,CraigHarris/gpdb,xuegang/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,Chibin/gpdb,lintzc/gpdb,ahachete/gpdb,royc1/gpdb,chrishajas/gpdb,50wu/gpdb,0x0FFF/gpdb,Chibin/gpdb,50wu/gpdb,xuegang/gpdb,greenplum-db/gpdb,lintzc/gpdb,Quikling/gpdb,xuegang/gpdb,royc1/gpdb,Chibin/gpdb,chrishajas/gpdb,adam8157/gpdb,0x0FFF/gpdb,Chibin/gpdb,lintzc/gpdb,xinzweb/gpdb,edespino/gpdb,lintzc/gpdb,adam8157/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,50wu/gpdb,janebeckman/gpdb,greenplum-db/gpdb,xinzweb/gpdb,edespino/gpdb,adam8157/gpdb,jmcatamney/gpdb,janebeckman/gpdb,ashwinstar/gpdb,lintzc/gpdb,Chibin/gpdb,janebeckman/gpdb,50wu/gpdb,royc1/gpdb,xuegang/gpdb,ahachete/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,xinzweb/gpdb,cjcjameson/gpdb,zaksoup/gpdb,cjcjameson/gpdb,rvs/gpdb,Quikling/gpdb,edespino/gpdb