Re: Simple question on fail over and config files

Поиск
Список
Период
Сортировка
От Sergey Konoplev
Тема Re: Simple question on fail over and config files
Дата
Msg-id CAL_0b1soQmiFvdSFhAzs+q90new4EAfhDSF_a95Y56=G907UeA@mail.gmail.com
обсуждение исходный текст
Ответ на Simple question on fail over and config files  (Jorge Torralba <jorge.torralba@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Gezeala M. Bacuño II
Дата:
Сообщение: Re: relfrozenxid not getting reset even after manual VACUUM
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: relfrozenxid not getting reset even after manual VACUUM