From 7639c4bf92149ff65be6e09d6eca5db68debc760 Mon Sep 17 00:00:00 2001 From: om Date: Wed, 9 Aug 2006 15:00:06 +0000 Subject: Fix for when we hit PgSQL 9.x git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4814 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/pgsql_config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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)); -- cgit v1.2.3