OSDN Git Service

Minor changes to recovery pause behaviour.
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 23 Mar 2011 19:35:53 +0000 (19:35 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 23 Mar 2011 19:35:53 +0000 (19:35 +0000)
commitb5f2f2a712e56fe1edf7d5665c07ee97be464c0b
tree46bf4f8c4ffdc2779fc1fa4de1c70498a8c5a096
parentba7d020d9d6edba872173f8640ca240e00ae7070
Minor changes to recovery pause behaviour.
Change location LOG message so it works each time we pause, not
just for final pause.
Ensure that we pause only if we are in Hot Standby and can connect
to allow us to run resume function. This change supercedes the
code to override parameter recoveryPauseAtTarget to false if not
attempting to enter Hot Standby, which is now removed.
src/backend/access/transam/xlog.c