summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/pgsql_config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/pgsql_config.pl b/src/modules/extra/pgsql_config.pl
index 4c56e4cf6..9b09aef91 100644
--- a/src/modules/extra/pgsql_config.pl
+++ b/src/modules/extra/pgsql_config.pl
@@ -3,4 +3,4 @@
my $v = substr(`pg_config --version`, 11);
my($a, $b, $c) = split(/\./, $v);
-print "-D PGSQL_HAS_ESCAPECONN" if(($a >= 8) and ($b >= 1) and ($c >= 4));
+print "-D PGSQL_HAS_ESCAPECONN" if((($a = 8) and ($b >= 1) and ($c >= 4)) or ($a > 8));