Re: Replication: slave is in permanent startup 'recovery' - Mailing list pgsql-general

From Henry C.
Subject Re: Replication: slave is in permanent startup 'recovery'
Date
Msg-id 1e25cf2d3557dd744212c679d1ab6a70.squirrel@zenmail.co.za
Whole thread Raw
In response to Replication: slave is in permanent startup 'recovery'  ("Henry C." <henka@cityweb.co.za>)
Responses Re: Replication: slave is in permanent startup 'recovery'
List pgsql-general
Forgot to mention recovery.conf on slave:

standby_mode = 'on'
primary_conninfo = 'host..."
restore_command = 'cp /home/psql-wal-archive/%f "%p"'
archive_cleanup_command = 'pg_archivecleanup /home/psql-wal-archive %r'


The wiki states "If wal_keep_segments is a high enough number to retain the
WAL segments required for the standby server, this [restore_command] may not
be necessary."

Presumably this is referring to wal_keep_segments config on the master, right?


pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [ADMIN] Streaming Replication limitations
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] Streaming Replication limitations