diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-01-29 15:43:32 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-01-29 15:58:14 +0100 |
commit | dc788668bb269b10a108e87d14fefd1b9301b793 (patch) | |
tree | a6564cee3051573b6b4096a2d80a8557346f6c02 /doc/src | |
parent | 29e321cdd63ea48fd0223447d58f4742ad729eb0 (diff) | |
download | postgresql-dc788668bb269b10a108e87d14fefd1b9301b793.tar.gz postgresql-dc788668bb269b10a108e87d14fefd1b9301b793.zip |
Fail if recovery target is not reached
Before, if a recovery target is configured, but the archive ended
before the target was reached, recovery would end and the server would
promote without further notice. That was deemed to be pretty wrong.
With this change, if the recovery target is not reached, it is a fatal
error.
Based-on-patch-by: Leif Gunnar Erlandsen <leif@lako.no>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/993736dd3f1713ec1f63fc3b653839f5@lako.no
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index e07dc01e802..c1128f89ec7 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -3571,6 +3571,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows If <xref linkend="guc-hot-standby"/> is not enabled, a setting of <literal>pause</literal> will act the same as <literal>shutdown</literal>. </para> + <para> + In any case, if a recovery target is configured but the archive + recovery ends before the target is reached, the server will shut down + with a fatal error. + </para> </listitem> </varlistentry> |