From 1c51e11c5c20cf2f9183efcdd8dd91fcb0d5885c Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 12 Apr 2011 10:35:33 +0000 Subject: [PATCH] Minor adjustments to PgSQL fingerprint --- plugins/dbms/postgresql/fingerprint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dbms/postgresql/fingerprint.py b/plugins/dbms/postgresql/fingerprint.py index 9c34b957f..834f4eb58 100644 --- a/plugins/dbms/postgresql/fingerprint.py +++ b/plugins/dbms/postgresql/fingerprint.py @@ -110,9 +110,9 @@ class Fingerprint(GenericFingerprint): if inject.checkBooleanExpression("LENGTH(TO_CHAR(1, 'EEEE'))>0"): Backend.setVersion(">= 9.0.0") elif inject.checkBooleanExpression("2=(SELECT DIV(6, 3))"): - Backend.setVersion(">= 8.4.0") + Backend.setVersionList([">= 8.4.0", "< 9.0.0"]) elif inject.checkBooleanExpression("EXTRACT(ISODOW FROM CURRENT_TIMESTAMP)<8"): - Backend.setVersionList([">= 8.3.0", "< 8.4"]) + Backend.setVersionList([">= 8.3.0", "< 8.4.0"]) elif inject.checkBooleanExpression("ISFINITE(TRANSACTION_TIMESTAMP())"): Backend.setVersionList([">= 8.2.0", "< 8.3.0"]) elif inject.checkBooleanExpression("9=(SELECT GREATEST(5, 9, 1))"):