pgsql: Cause the archiver process to adopt new postgresql.conf settings

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cause the archiver process to adopt new postgresql.conf settings
Date: 2010-05-11 16:42:28
Message-ID: 20100511164228.993437541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/postmaster:
pgarch.c (r1.41 -> r1.42)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgarch.c?r1=1.41&r2=1.42)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-05-11 16:42:34 pgsql: Cause the archiver process to adopt new postgresql.conf settings
Previous Message Robert Haas 2010-05-11 16:07:42 pgsql: Mention related ALTER TABLE variants in documentation for