Re: set archive mode => on - Mailing list pgsql-admin

From Tom Lane
Subject Re: set archive mode => on
Date
Msg-id 744.1407163492@sss.pgh.pa.us
Whole thread Raw
In response to Re: set archive mode => on  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-admin
Simon Riggs <simon@2ndquadrant.com> writes:
> On 4 August 2014 14:46, Sofer, Yuval <Yuval_Sofer@bmc.com> wrote:
>> Is there any way to turn archive mode to on, without restarting Postgres
>> database server?

> Sorry, not currently.
> But it is something we've wanted to add for some time.

The existing compromise on this is that archive_command is separate from
archive_mode, and archive_command *can* be changed on the fly.  So you can
run with archive_mode on and set archive_command to a no-op (I think an
empty string might work, read the docs), if you think you might want to
activate archiving later without restarting.

            regards, tom lane


pgsql-admin by date:

Previous
From: Ray Stell
Date:
Subject: Re: set archive mode => on
Next
From: Khangelani Gama
Date:
Subject: Re: upgrading postgres 7.3.4 to 9.1.9