Re: Simple question on fail over and config files - Mailing list pgsql-admin

From Sergey Konoplev
Subject Re: Simple question on fail over and config files
Date
Msg-id CAL_0b1soQmiFvdSFhAzs+q90new4EAfhDSF_a95Y56=G907UeA@mail.gmail.com
Whole thread Raw
In response to Simple question on fail over and config files  (Jorge Torralba <jorge.torralba@gmail.com>)
List pgsql-admin
On Mon, Aug 5, 2013 at 10:29 AM, Jorge Torralba
<jorge.torralba@gmail.com> wrote:
> I have a primary and secondary running streaming replication with 9.2.
> Primary posgresql.conf file is slightly different than standby server conf
> file. If i create the trigger file to force the standby into primary mode,
> is there a way to make the new primary server  use a different config file
> configured for a primary after it becomes the primary besides shutting it
> down and loading the new primary config file?

Unfortunately, there is no such a way.

> Or can we just leave it
> running as a primary using the config file it used as a standby?

Yes, you can.

You can also use the same config file for standby as on the master if
you does not do anything that requires a specific configuration on
standby, of course.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

Profile: http://www.linkedin.com/in/grayhemp
Phone: USA +1 (415) 867-9984, Russia +7 (901) 903-0499, +7 (988) 888-1979
Skype: gray-hemp
Jabber: gray.ru@gmail.com


pgsql-admin by date:

Previous
From: Gezeala M. Bacuño II
Date:
Subject: Re: relfrozenxid not getting reset even after manual VACUUM
Next
From: Albe Laurenz
Date:
Subject: Re: relfrozenxid not getting reset even after manual VACUUM