cvs: pear /DB package.xml /DB/DB pgsql.php

From: Date: Fri, 25 Jun 2004 18:51:43 +0000
Subject: cvs: pear /DB package.xml /DB/DB pgsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21130@lists.php.net to get a copy of this message
danielc Fri Jun 25 14:51:43 2004 EDT Modified files: /pear/DB package.xml /pear/DB/DB pgsql.php Log: * Adjust getListOf('tables') to accommodate the addition of sql_* core tables in PostgreSQL 7.4.2. Bug 1549. http://cvs.php.net/diff.php/pear/DB/package.xml?r1=1.106&r2=1.107&ty=u Index: pear/DB/package.xml diff -u pear/DB/package.xml:1.106 pear/DB/package.xml:1.107 --- pear/DB/package.xml:1.106 Thu Jun 24 11:26:54 2004 +++ pear/DB/package.xml Fri Jun 25 14:51:43 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> <package version="1.0"> - <!-- $Id: package.xml,v 1.106 2004/06/24 15:26:54 danielc Exp $ --> + <!-- $Id: package.xml,v 1.107 2004/06/25 18:51:43 danielc Exp $ --> <name>DB</name> <summary>Database Abstraction Layer</summary> <description> @@ -56,13 +56,18 @@ <release> <version>1.6.5</version> <state>stable</state> - <date>2004-06-24</date> + <date>pending</date> <notes> ============= BUGS FIXED: +* common, dbase, fbsql, ibase, oic8, pgsql: When using resources as array index, convert to int first. http://bugs.php.net/28879 (danielc) + +* pgsql: +Adjust getListOf('tables') to accommodate the addition of +sql_* core tables in PostgreSQL 7.4.2. Bug 1549. </notes> <filelist> <file role="php" baseinstalldir="/">DB.php</file> http://cvs.php.net/diff.php/pear/DB/DB/pgsql.php?r1=1.76&r2=1.77&ty=u Index: pear/DB/DB/pgsql.php diff -u pear/DB/DB/pgsql.php:1.76 pear/DB/DB/pgsql.php:1.77 --- pear/DB/DB/pgsql.php:1.76 Thu Jun 24 11:24:56 2004 +++ pear/DB/DB/pgsql.php Fri Jun 25 14:51:43 2004 @@ -18,7 +18,7 @@ // | Maintainer: Daniel Convissor <danielc@php.net> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.76 2004/06/24 15:24:56 danielc Exp $ +// $Id: pgsql.php,v 1.77 2004/06/25 18:51:43 danielc Exp $ require_once 'DB/common.php'; @@ -27,7 +27,7 @@ * extension. * * @package DB - * @version $Id: pgsql.php,v 1.76 2004/06/24 15:24:56 danielc Exp $ + * @version $Id: pgsql.php,v 1.77 2004/06/25 18:51:43 danielc Exp $ * @category Database * @author Rui Hirokawa <hirokawa@php.net> * @author Stig Bakken <ssb@php.net> @@ -802,7 +802,7 @@ FROM pg_class c, pg_user u WHERE c.relowner = u.usesysid AND c.relkind = 'r' AND not exists (select 1 from pg_views where viewname = c.relname) - AND c.relname !~ '^pg_' + AND c.relname !~ '^(pg_|sql_)' UNION SELECT c.relname as \"Name\" FROM pg_class c

« previous php.pear.cvs (#21130) next »