summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorMichel Sijmons2011-02-02 22:27:22 +0000
committerGreg Sabino Mullane2011-02-02 22:27:22 +0000
commitbcf901de0225b49eb24b9400a9315a9a56e4151e (patch)
treef086438a12af6c2d407c9713abc3e23d0c21d845 /check_postgres.pl
parent74797ee0dc2daeadec127cf0d81fb9e48246b38f (diff)
Set maxliagn to 8 in the bloat check if box identified as '64-bit'
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 62b5660b0..a9e35eb78 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2920,7 +2920,7 @@ FROM (
SELECT
BLOCK_SIZE,
CASE WHEN substring(v,12,3) IN ('8.0','8.1','8.2') THEN 27 ELSE 23 END AS hdr,
- CASE WHEN v ~ 'mingw32' THEN 8 ELSE 4 END AS ma
+ CASE WHEN v ~ 'mingw32' OR v ~ '64-bit' THEN 8 ELSE 4 END AS ma
FROM (SELECT version() AS v) AS foo
) AS constants
GROUP BY 1,2,3,4,5