Index: openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql,v
diff -u -r1.46 -r1.47
--- openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	23 Apr 2013 15:23:11 -0000	1.46
+++ openacs-4/packages/acs-kernel/sql/postgresql/postgresql.sql	29 May 2013 09:41:47 -0000	1.47
@@ -1000,7 +1000,7 @@
     ret_val = 0;
 
     user_pg_version := string_to_array(trim(p__version),'.')::int[];
-    select string_to_array(setting, '.','')::int[] into pg_version from pg_settings where name = 'server_version';
+    select string_to_array(setting, '.')::int[] into pg_version from pg_settings where name = 'server_version';
 
 
     for index in array_length(user_pg_version, 1) + 1..array_length(pg_version, 1) loop
