Search Postgresql Archives

Re: synchronous_standby_names with '*'

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

 



I think
set synchronous_commit to "off"
Disable synchronous commit only for this session (connect) not for postgres instance, right?
Maybe I must chnage configuration and call "pg_ctl reload"? to change deafult behaviour for postgres instance?

2011/8/19 Fujii Masao <masao.fujii@xxxxxxxxx>
On Fri, Aug 19, 2011 at 8:39 PM, alexondi <alexondi@xxxxxxxxxx> wrote:
> so can I somehow disable|enable synchronous replication at runtime (not only
> for session but for the server)?

Yes.

To disable;
Empty synchronous_standby_names, or set synchronous_commit to "local" or "off".

To enable;
Set synchronous_standby_names or set synchronous_commit to "on".

And then reload the configuration file.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux