Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id CAB031337B56 for ; Tue, 2 Nov 2010 14:32:29 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 47841-04 for ; Tue, 2 Nov 2010 17:32:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail148113.authsmtp.com (outmail148113.authsmtp.com [62.13.148.113]) by mail.postgresql.org (Postfix) with ESMTP id 20CDF133798F for ; Tue, 2 Nov 2010 14:32:21 -0300 (ADT) Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt10.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id oA2HWJdY070215; Tue, 2 Nov 2010 17:32:19 GMT Received: from [192.168.0.6] ([81.5.146.37]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id oA2HW7HK095637; Tue, 2 Nov 2010 17:32:07 GMT Subject: Re: Replication From: Simon Riggs To: Jonathan Tripathy Cc: Scott Marlowe , pgsql-general@postgresql.org In-Reply-To: <4CCFB6CF.4060006@abpni.co.uk> References: <4CCF1AC4.6060800@abpni.co.uk> <4CCF4187.8010205@abpni.co.uk> <4CCFB6CF.4060006@abpni.co.uk> Content-Type: text/plain; charset="UTF-8" Date: Tue, 02 Nov 2010 17:32:05 +0000 Message-ID: <1288719125.1867.19438.camel@ebony> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Server-Quench: 1df610e4-e6a7-11df-ab46-001185d377ca X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOTQEd DAteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFaAdbY1ZH HGQLWlREUVp7WmF/ awIfZQRDZ1RPWwN0 U09WR1pVCwUmXm0D fnkZKmJyfgBAe3k+ YUNlVj5aCBJ8dEYo RlMBEzwBeGZhPDYC ARJccR5UcAJLdhoR aVd4ByJDAzANdhEX MikeBRkVCH1lJTxR QwoEMVMVRy4A X-Authentic-SMTP: 61633235383639.1000:706 X-AuthFastPath: 0 (Was 255) X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.419 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FS_REPLICA=3.599, RCVD_IN_DNSWL_NONE=-0.0001, SARE_SPEC_REPLICA=0.72 X-Spam-Level: ** X-Archive-Number: 201011/131 X-Sequence-Number: 169197 On Tue, 2010-11-02 at 06:59 +0000, Jonathan Tripathy wrote: > >>> > >> So in the "Hot Standby" setup as described in > >> http://www.postgresql.org/docs/current/static/hot-standby.html , how would I > >> automatically make the slave a master? > > I think you're looking for this: > > http://www.postgresql.org/docs/current/static/warm-standby-failover.html > > > What is the difference between the "Hot-Standby" and "Warm-Standby"? Is > the only different that the "Hot-Standby" standby servers are read-only, > whereas the "Warm-Standby" standbys can't be queried at all? The title of the second HTML page is now out of date. So there is no warm/hot confusion to worry about, just the name of the page and URL. -- Simon Riggs http://www.2ndQuadrant.com/books/ PostgreSQL Development, 24x7 Support, Training and Services