shut down soon after the divergence, this is not a problem, but if the
target cluster ran for a long time after the divergence, the old WAL
files might no longer be present. In that case, they can be manually
- copied from the WAL archive to the pg_wal directory, or
- fetched on startup by configuring or
- . The use of
-
pg_rewind is not limited to failover, e.g., a standby
- server can be promoted, run some write transactions, and then rewound
- to become a standby again.
+ copied from the WAL archive to the pg_wal directory.
+ The use of
pg_rewind is not limited to
+ failover, e.g., a standby server can be promoted, run some write
+ transactions, and then rewound to become a standby again.