Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5DY6-00025i-4j for pgsql-admin@arkaria.postgresql.org; Mon, 20 Jan 2014 12:01:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W5DY4-0005a1-OD for pgsql-admin@arkaria.postgresql.org; Mon, 20 Jan 2014 12:01:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W57a3-0002B9-DI for pgsql-admin@postgresql.org; Mon, 20 Jan 2014 05:39:27 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W57Zz-0005mS-FQ for pgsql-admin@postgresql.org; Mon, 20 Jan 2014 05:39:26 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1W57Zw-0001bH-Px for pgsql-admin@postgresql.org; Sun, 19 Jan 2014 21:39:20 -0800 Date: Sun, 19 Jan 2014 21:39:20 -0800 (PST) From: sparikh To: pgsql-admin@postgresql.org Message-ID: <1390196360741-5787858.post@n5.nabble.com> Subject: pg_ctl promote MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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