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
pgsql-docs by date:
Соглашаюсь с условиями обработки персональных данных