From 827881211251e25dfa0feb65bdca75abfee93018 Mon Sep 17 00:00:00 2001 From: chriskl Date: Wed, 31 Mar 2004 03:30:41 +0000 Subject: [PATCH] fix bug in Dan Boren patch application where previous fix was removed --- classes/database/Postgres74.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/database/Postgres74.php b/classes/database/Postgres74.php index c41d530f..d7462e74 100644 --- a/classes/database/Postgres74.php +++ b/classes/database/Postgres74.php @@ -4,7 +4,7 @@ * A class that implements the DB interface for Postgres * Note: This class uses ADODB and returns RecordSets. * - * $Id: Postgres74.php,v 1.26 2004/03/29 02:05:31 chriskl Exp $ + * $Id: Postgres74.php,v 1.27 2004/03/31 03:30:41 chriskl Exp $ */ include_once('./classes/database/Postgres73.php'); @@ -164,7 +164,7 @@ class Postgres74 extends Postgres73 { function &getView($view) { $this->clean($view); $sql = "SELECT c.relname AS viewname, pg_catalog.pg_get_userbyid(c.relowner) AS viewowner, - pg_catalog.pg_get_viewdef(c.oid) AS definition, pg_catalog.obj_description(c.oid, 'pg_class') AS comment + pg_catalog.pg_get_viewdef(c.oid, true) AS definition, pg_catalog.obj_description(c.oid, 'pg_class') AS comment FROM pg_catalog.pg_class c WHERE (c.relname = '$view')"; -- 2.39.5