aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/pgsql_config.pl
diff options
context:
space:
mode:
authorGravatar brain2006-08-09 19:29:13 +0000
committerGravatar brain2006-08-09 19:29:13 +0000
commitf0f4dd725b20c5acca3eacdc77754ad9d2103626 (patch)
tree1e875105d0428832891e76cff39fa663ff642188 /src/modules/extra/pgsql_config.pl
parentChange some resolver stuff. (diff)
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
Diffstat (limited to 'src/modules/extra/pgsql_config.pl')
-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 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);