From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: Missing docs: setting up replication slots for standbys |
Date: | 2014-09-04 05:48:39 |
Message-ID: | 5407FD37.9070501@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2014-09-04 06:03:18 | Re: Missing docs: setting up replication slots for standbys |
Previous Message | Josh Berkus | 2014-09-04 05:43:19 | Missing docs: setting up replication slots for standbys |