Re: Configuring synchronous replication - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Configuring synchronous replication
Date
Msg-id 3b3c1edef4f99665bac9be63f7176167@commandprompt.com
Whole thread Raw
In response to Re: Configuring synchronous replication  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Configuring synchronous replication
List pgsql-hackers
> Crazy idea, but could we use format like postgresql.conf by extending
> postgresql.conf syntax, e.g.:
> 
>     server1.failover = false
>     server1.keep_connect = true
> 

Why is this in the config file at all. It should be:

synchronous_replication = TRUE/FALSE

then

ALTER CLUSTER ENABLE REPLICATION FOR FOO;
ALTER CLUSTER SET keep_connect ON FOO TO TRUE;

Or some such thing.

Sincerely,

Joshua D. Drake


> -- 
>   Bruce Momjian  <bruce@momjian.us>        http://momjian.us
>   EnterpriseDB                             http://enterprisedb.com
> 
>   + It's impossible for everything to be true. +

-- 
PostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org  Consulting, Development, Support, Training  503-667-4564 -
http://www.commandprompt.com/ The PostgreSQL Company, serving since 1997
 


pgsql-hackers by date:

Previous
From: Elvis Pranskevichus
Date:
Subject: Re: moving development branch activity to new git repo
Next
From: Pei He
Date:
Subject: Re: Get the offset of a tuple inside a table