From f0f4dd725b20c5acca3eacdc77754ad9d2103626 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 19:29:13 +0000 Subject: Wrong version given in check it seems. Om can review this later, but now it compiles on my system (pgsql 8.0.8) with that special feature thats only supposed to exist on 8.4.2 onwards.... :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4822 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/pgsql_config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/pgsql_config.pl') diff --git a/src/modules/extra/pgsql_config.pl b/src/modules/extra/pgsql_config.pl index bc91fa24d..be9fa06ed 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(hex(sprintf("%02x", $a) . sprintf("%02x", $b) . sprintf("%02x", $c)) >= 0x080104); +print "-D PGSQL_HAS_ESCAPECONN" if(hex(sprintf("%02x", $a) . sprintf("%02x", $b) . sprintf("%02x", $c)) >= 0x080000); -- cgit v1.3.1-10-gc9f91