From e9f2ffc93a93a9f8c502321dced00c8ae67ff0d6 Mon Sep 17 00:00:00 2001 From: jollytoad Date: Mon, 11 Oct 2004 11:27:27 +0000 Subject: [PATCH] Fixed column typo in getTables. --- classes/database/Postgres80.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/database/Postgres80.php b/classes/database/Postgres80.php index 07bb481a..78d9be7a 100644 --- a/classes/database/Postgres80.php +++ b/classes/database/Postgres80.php @@ -3,7 +3,7 @@ /** * PostgreSQL 8.0 support * - * $Id: Postgres80.php,v 1.5 2004/10/11 10:27:34 jollytoad Exp $ + * $Id: Postgres80.php,v 1.6 2004/10/11 11:27:27 jollytoad Exp $ */ include_once('./classes/database/Postgres74.php'); @@ -104,7 +104,7 @@ class Postgres80 extends Postgres74 { function &getTables($all = false) { if ($all) { // Exclude pg_catalog and information_schema tables - $sql = "SELECT schemaname AS nspname, tablename AS relname, tableowner AS relname + $sql = "SELECT schemaname AS nspname, tablename AS relname, tableowner AS relowner FROM pg_catalog.pg_tables WHERE schemaname NOT IN ('pg_catalog', 'information_schema', 'pg_toast') ORDER BY schemaname, tablename"; -- 2.39.5