Fix for bug# 1614396 ] can't display table summary when table too large, per Albert...
authorxzilla <xzilla>
Sun, 31 Dec 2006 15:35:49 +0000 (15:35 +0000)
committerxzilla <xzilla>
Sun, 31 Dec 2006 15:35:49 +0000 (15:35 +0000)
classes/database/Postgres80.php

index 04d9a15fe2e979a2fb15c9336225a58fd4dd8a16..b1bb5e8fe115bf367ff4b8dfe7f5a4ac5401864f 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * PostgreSQL 8.0 support
  *
- * $Id: Postgres80.php,v 1.20 2006/11/19 21:33:13 xzilla Exp $
+ * $Id: Postgres80.php,v 1.21 2006/12/31 15:35:49 xzilla Exp $
  */
 
 include_once('./classes/database/Postgres74.php');
@@ -169,7 +169,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::integer,
+                                               reltuples,
                                                (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