diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-07-07 08:10:39 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-07-07 08:10:39 +0900 |
commit | 42303977916599074a96d760d645180fc8df9867 (patch) | |
tree | 989c6c8ecaf204903007b292662a981330fab4df /src/tutorial/complex.c | |
parent | a1f680d962ffdd563eee7665da5b3b9967a6070f (diff) | |
download | postgresql-42303977916599074a96d760d645180fc8df9867.tar.gz postgresql-42303977916599074a96d760d645180fc8df9867.zip |
Add note in pg_rewind documentation about read-only files
When performing pg_rewind, the presence of a read-only file which is not
accessible for writes will cause a failure while processing. This can
cause the control file of the target data folder to be truncated,
causing it to not be reusable with a successive run.
Also, when pg_rewind fails mid-flight, there is likely no way to be able
to recover the target data folder anyway, in which case a new base
backup is the best option. A note is added in the documentation as
well about.
Reported-by: Christian H.
Author: Michael Paquier
Reviewed-by: Andrew Dunstan
Discussion: https://postgr.es/m/20180104200633.17004.16377%40wrigleys.postgresql.org
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions