Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPPub-0002YO-1h for pgsql-docs@arkaria.postgresql.org; Thu, 04 Sep 2014 05:48:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XPPuZ-0008Pf-O1 for pgsql-docs@arkaria.postgresql.org; Thu, 04 Sep 2014 05:48:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XPPuY-0008PV-Rv for pgsql-docs@postgresql.org; Thu, 04 Sep 2014 05:48:46 +0000 Received: from 01.zmailcloud.com ([192.198.85.104] helo=mx-out-1.zmailcloud.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPPuU-00036V-Si for pgsql-docs@postgresql.org; Thu, 04 Sep 2014 05:48:45 +0000 Received: from smtp.01.com (smtp.01.com [10.10.0.43]) by mx-out-1.zmailcloud.com (Postfix) with ESMTP id 11D96564A2E for ; Thu, 4 Sep 2014 00:48:42 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 0ABC560381 for ; Thu, 4 Sep 2014 00:48:42 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YEN_ywl1949K for ; Thu, 4 Sep 2014 00:48:41 -0500 (CDT) Received: from smtp.01.com (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id E037E603C6 for ; Thu, 4 Sep 2014 00:48:41 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id C949E603C5 for ; Thu, 4 Sep 2014 00:48:41 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QnVhhbN8f2i2 for ; Thu, 4 Sep 2014 00:48:41 -0500 (CDT) Received: from [10.0.0.165] (c-50-139-39-6.hsd1.or.comcast.net [50.139.39.6]) by smtp-out-2.01.com (Postfix) with ESMTPSA id 8382A60381 for ; Thu, 4 Sep 2014 00:48:41 -0500 (CDT) Message-ID: <5407FD37.9070501@agliodbs.com> Date: Wed, 03 Sep 2014 22:48:39 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Re: Missing docs: setting up replication slots for standbys References: <5407FBF7.5070204@agliodbs.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On 09/03/2014 10:43 PM, Josh Berkus wrote: > > Section 46.2.2 has this: > > Note: PostgreSQL also has streaming replication slots (see Section > 25.2.5), but they are used somewhat differently there. > > Section 25.2.5 has this: > > You can avoid this by setting wal_keep_segments to a value large enough > to ensure that WAL segments are not recycled too early, or by > configuring a replication slot for the standby. > > ... however, absolutely nowhere is it explained how to configure a > replication slot for a streaming replica. Is it, in fact, possible to > do so? Searching ... it is possible. However, the way to do so is actually scattered among 5 different doc pages. I'm not sure that I'm up for the surgery required to make this make sense to users ... anybody else have the energy/time? The relevant pages in the docs are these: http://www.postgresql.org/docs/9.4/static/standby-settings.html http://www.postgresql.org/docs/9.4/static/functions-admin.html#FUNCTIONS-REPLICATION http://www.postgresql.org/docs/9.4/static/logicaldecoding-explanation.html#AEN66111 http://www.postgresql.org/docs/9.4/static/warm-standby.html#STREAMING-REPLICATION ... otherwise, I'll just write a blog or postgresguide or something. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs