projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74797ee
)
Set maxliagn to 8 in the bloat check if box identified as '64-bit'
author
Michel Sijmons
<
[email protected]
>
Wed, 2 Feb 2011 22:27:22 +0000
(17:27 -0500)
committer
Greg Sabino Mullane
<
[email protected]
>
Wed, 2 Feb 2011 22:27:22 +0000
(17:27 -0500)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 62b5660b0a860dab53848b3869b0c8baf17287be..a9e35eb7839de62fcbca157c55284d0ce242074c 100755
(executable)
--- 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