pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 杨涛涛 <daxiong00@163.com>
To: sparikh <sparikh@carcharging.com>
Cc: pgsql-admin@postgresql.org
Subject: 回复: pg_ctl promote
Date: Tue, 21 Jan 2014 18:13:38 +0800 (CST)
Message-ID: <726aa536.9e9c.143b44a8120.Coremail.daxiong00@163.com> (raw)
In-Reply-To: <1390196360741-5787858.post@n5.nabble.com>
References: <1390196360741-5787858.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

You mean just a single dedicated database server? If "yes", nothing changes to  the configuration file.







At 2014-01-20 13:39:20,sparikh <sparikh@carcharging.com> wrote:
>Hi,
>
>I have recently tried pg_ctl promote to promote one of our standby server to
>promote as primary server.
>Eventually I will be doing this in production.
>
>I could successfully execute the pg_ctl promote command. My only question do
>I have to change postgresql.conf and pg_hba.conf files manually to have
>parameters/settings specificto read/write server.
>
>For example:
>
>hot_standby to off from on in postgresql.conf
>host replication all (remove this from pg_hba.conf)
>
>Thanks.
>
>
>
>--
>View this message in context: http://postgresql.1045698.n5.nabble.com/pg-ctl-promote-tp5787858.html
>Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
>
>
>-- 
>Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-admin


Message-ID: <726aa536.9e9c.143b44a8120.Coremail.daxiong00@163.com>
Permalink:  ../726aa536.9e9c.143b44a8120.Coremail.daxiong00@163.com/
Also on:    postgresql.org/message-id/726aa536.9e9c.143b44a8120.Coremail.daxiong00@163.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: daxiong00@163.com, sparikh@carcharging.com
  Subject: Re: 回复: pg_ctl promote
  In-Reply-To: <726aa536.9e9c.143b44a8120.Coremail.daxiong00@163.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox