git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 29e321c) | patch
Fail if recovery target is not reached
2020年1月29日 14:43:32 +0000 (15:43 +0100)
2020年1月29日 14:58:14 +0000 (15:58 +0100)
commit dc788668bb269b10a108e87d14fefd1b9301b793
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
doc/src/sgml/config.sgml diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/test/perl/PostgresNode.pm diff | blob | blame | history
src/test/recovery/t/003_recovery_targets.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /