Re: Cannot change archive_command with a reload - Mailing list pgsql-admin

From Strahinja Kustudić
Subject Re: Cannot change archive_command with a reload
Date
Msg-id CADKbJJV8aqiFcxwd80zWWde=1BWZ3aiZDD7ag_M8EMV0vOxZxQ@mail.gmail.com
Whole thread Raw
In response to Cannot change archive_command with a reload  (CS DBA <cs_dba@consistentstate.com>)
Responses Re: Cannot change archive_command with a reload  (CS DBA <cs_dba@consistentstate.com>)
List pgsql-admin
What version of Postgres are you using? What OS? Have you tried editing the archive_command in postgresql.conf and then reload?

Strahinja Kustudić
| Lead System Engineer | Nordeus


On Sun, Feb 2, 2014 at 4:52 PM, CS DBA <cs_dba@consistentstate.com> wrote:
Hi all;

we have a cluster running with an archive command that is failing.
I tried a reload and the value does not change

Tried a set_config and I get this error:

select set_config ('archive_command', 'cp %p /data/wal_tmp/%f && mv /data/wal_tmp/%f /data/wal/&f', 'false');
ERROR:  parameter "archive_command" cannot be changed now


Thoughts?

Thanks in advance


--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

pgsql-admin by date:

Previous
From: CS DBA
Date:
Subject: Cannot change archive_command with a reload
Next
From: CS DBA
Date:
Subject: Re: Cannot change archive_command with a reload