pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-docs@postgresql.org
Subject: Re: Missing docs: setting up replication slots for standbys
Date: Wed, 03 Sep 2014 22:48:39 -0700
Message-ID: <5407FD37.9070501@agliodbs.com> (raw)
In-Reply-To: <WM!70fac793cd3a02a159f781e272e2b32d52c877c7fcc549e43e3e47c56cbdec34518e2768a5736f2ba1997c1b62993d11!@asav-1.01.com>
References: <5407FBF7.5070204@agliodbs.com>
	<WM!70fac793cd3a02a159f781e272e2b32d52c877c7fcc549e43e3e47c56cbdec34518e2768a5736f2ba1997c1b62993d11!@asav-1.01.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

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



view thread (5+ messages)  latest in thread

Message-ID: <5407FD37.9070501@agliodbs.com>
Permalink:  ../5407FD37.9070501@agliodbs.com/
Also on:    postgresql.org/message-id/5407FD37.9070501@agliodbs.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-docs@postgresql.org
  Cc: josh@agliodbs.com
  Subject: Re: Missing docs: setting up replication slots for standbys
  In-Reply-To: <5407FD37.9070501@agliodbs.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