Merge ~twom/launchpad:fix-getreplication-lag into launchpad:master
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Tom Wardill |
Approved revision: | 1ddeb43a52dcb33f8178ff656e6049a6743c61ee |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~twom/launchpad:fix-getreplication-lag |
Merge into: | launchpad:master |
Diff against target: |
13 lines (+1/-1) 1 file modified
lib/lp/services/database/policy.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+391040@code.launchpad.net |
Commit message
Swap hot_standby for pg_is_in_recovery
Description of the change
Postgres 10 changes the default of `hot_standby` on `on`.
Change it for `pg_is_in_recovery` as that gives us the behaviour we want of telling us if there is actually a standby.
To post a comment you must log in.