Re: Configuring synchronous replication

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Configuring synchronous replication
Дата
Msg-id AANLkTin8FBQV4wAUihvrtXTqc_15x-9Xb=E7KSwynwVe@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Configuring synchronous replication  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Configuring synchronous replication  (Bruce Momjian <bruce@momjian.us>)
Re: Configuring synchronous replication  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Configuring synchronous replication  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
On 22 September 2010 17:23, Bruce Momjian <bruce@momjian.us> wrote:
> Robert Haas wrote:
>> [server]
>> guc=value
>>
>> or
>>
>> server.guc=value
>  ^^^^^^^^^^^^^^^^
>
> Yes, this was my idea too.  It uses our existing config file format.
>

So...

sync_rep_services = {critical: recv=2, fsync=2, replay=1;                    important: fsync=3;
reporting:recv=2, apply=1} 

becomes ...

sync_rep_services.critical.recv = 2
sync_rep_services.critical.fsync = 2
sync_rep_services.critical.replay = 2
sync_rep_services.important.fsync = 3
sync_rep_services.reporting.recv = 2
sync_rep_services.reporting.apply = 1

I actually started to give this example to demonstrate how cumbersome
it would look... but now that I've just typed it out, I've changed my
mind.  I actually like it!

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Git cvsserver serious issue
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Git cvsserver serious issue