summaryrefslogtreecommitdiff
path: root/check_postgres.pl.html
diff options
context:
space:
mode:
authorGuillaume Lelarge2012-12-27 08:57:55 +0000
committerGuillaume Lelarge2012-12-27 09:14:11 +0000
commit9b35523b9d8b5d3e38bc9d9b060c243738f7dd96 (patch)
tree842fdcdc75a888b686ef238926eb986b167bb928 /check_postgres.pl.html
parent803ededc681c2a63dbb11903975ffe795a1f52f9 (diff)
Make sure hot_standby_delay doesn't return negative values
Before this patch, the hot_standby_delay action could return negative values. To minimize the risk, we first query the slave, then the master. And to make sure, we never get negative values, we set them to zero if we have a negative value. Report and ideas from Filip RembiaƂkowski.
Diffstat (limited to 'check_postgres.pl.html')
0 files changed, 0 insertions, 0 deletions