Hello!
I`ve encountered the following error when trying to stream WAL via
pg_receivewal:
pg_receivewal -p 11770 --synchronous -D /wal/node -v
pg_receivewal: starting log streaming at 0/1000000 (timeline 1)
pg_receivewal: error: unexpected termination of replication stream:
ERROR: requested WAL segment 000000010000000000000001 has already been
removed
pg_receivewal: disconnected; waiting 5 seconds to try again
Is there something awry with start position calculation, or am I doing
something wrong?
--
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company