a fix to the fix on Postgres80.php
authorioguix <ioguix>
Tue, 2 Oct 2007 21:44:35 +0000 (21:44 +0000)
committerioguix <ioguix>
Tue, 2 Oct 2007 21:44:35 +0000 (21:44 +0000)
classes/database/Postgres80.php

index f5e01508c962845a94505c215f41905e8030a996..db1d09e82aa79155a7debf5c9b65ae8f64d0feee 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * PostgreSQL 8.0 support
  *
- * $Id: Postgres80.php,v 1.23 2007/10/02 21:36:35 ioguix Exp $
+ * $Id: Postgres80.php,v 1.24 2007/10/02 21:44:35 ioguix Exp $
  */
 
 include_once('./classes/database/Postgres74.php');
@@ -171,7 +171,7 @@ class Postgres80 extends Postgres74 {
                } else {
                        $sql = "SELECT c.relname, pg_catalog.pg_get_userbyid(c.relowner) AS relowner, 
                                                pg_catalog.obj_description(c.oid, 'pg_class') AS relcomment,
-                                               reltuples:bigint,
+                                               reltuples::bigint,
                                                (SELECT spcname FROM pg_catalog.pg_tablespace pt WHERE pt.oid=c.reltablespace) AS tablespace
                                        FROM pg_catalog.pg_class c
                                        LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace