postgresql/src/backend/access
Fujii Masao 85d0e661aa Make recovery_target_action = pause work.
Previously even if recovery_target_action was set to pause and
the recovery target was reached, the recovery could never be paused.
Because the setting of pause was *always* overridden with that of
shutdown unexpectedly. This override is valid and intentional
if hot_standby is not enabled because there is no way to resume
the paused recovery in this case and the setting of pause is
completely useless. But not if hot_standby is enabled.

This patch changes the code so that the setting of pause is overridden
with that of shutdown only when hot_standby is not enabled.

Bug reported by Andres Freund
2015-05-21 13:56:17 +09:00
..
brin Fix more typos in comments. 2015-05-20 19:45:43 +03:00
common
gin Collection of typo fixes. 2015-05-20 16:56:22 +03:00
gist
hash
heap Fix more typos in comments. 2015-05-20 19:45:43 +03:00
index
nbtree Collection of typo fixes. 2015-05-20 16:56:22 +03:00
rmgrdesc Collection of typo fixes. 2015-05-20 16:56:22 +03:00
spgist
tablesample
transam Make recovery_target_action = pause work. 2015-05-21 13:56:17 +09:00
Makefile