Re: Cannot change archive_command with a reload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We're running version 9.2.4,  on Redhat 5.1
I have tried changing the config file and running "service postgresql-9.2 reload"

I've also tried (as user postgres): pg_ctl -D /var/lib/pgsql/9.2/data reload

no luck with either approach




 On 2/2/14, 8:58 AM, Strahinja Kustudić wrote:
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@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux