cvs: pear /DB package.xml /DB/DB pgsql.php
| From: | Daniel Convissor | Date: | Mon, 04 Oct 2004 17:53:09 +0000 |
| Subject: | cvs: pear /DB package.xml /DB/DB pgsql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-24598@lists.php.net to get a copy of this message | ||
danielc Mon Oct 4 13:53:09 2004 EDT
Modified files:
/pear/DB package.xml
/pear/DB/DB pgsql.php
Log:
* Add "permission denied" to error regex. Bug 2417.
(stewart_linux-org-au)
http://cvs.php.net/diff.php/pear/DB/package.xml?r1=1.123&r2=1.124&ty=u
Index: pear/DB/package.xml
diff -u pear/DB/package.xml:1.123 pear/DB/package.xml:1.124
--- pear/DB/package.xml:1.123 Mon Oct 4 13:14:32 2004
+++ pear/DB/package.xml Mon Oct 4 13:53:08 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<package version="1.0">
- <!-- $Id: package.xml,v 1.123 2004/10/04 17:14:32 danielc Exp $ -->
+ <!-- $Id: package.xml,v 1.124 2004/10/04 17:53:08 danielc Exp $ -->
<name>DB</name>
<summary>Database Abstraction Layer</summary>
<description>
@@ -50,11 +50,15 @@
<release>
<version>1.6.8</version>
<state>stable</state>
- <date>pending</date>
+ <date>2004-10-04</date>
<notes><![CDATA[
-* odbc
+* odbc:
Allow use of cursor argument to odbc connect functions.
Bug 2385. (danielc)
+
+* pgsql:
+Add "permission denied" to error regex. Bug 2417.
+(stewart_linux-org-au)
]]></notes>
<filelist>
<file role="php" baseinstalldir="/">DB.php</file>
http://cvs.php.net/diff.php/pear/DB/DB/pgsql.php?r1=1.82&r2=1.83&ty=u
Index: pear/DB/DB/pgsql.php
diff -u pear/DB/DB/pgsql.php:1.82 pear/DB/DB/pgsql.php:1.83
--- pear/DB/DB/pgsql.php:1.82 Sat Sep 25 17:58:00 2004
+++ pear/DB/DB/pgsql.php Mon Oct 4 13:53:09 2004
@@ -18,7 +18,7 @@
// | Maintainer: Daniel Convissor <danielc@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: pgsql.php,v 1.82 2004/09/25 21:58:00 danielc Exp $
+// $Id: pgsql.php,v 1.83 2004/10/04 17:53:09 danielc Exp $
require_once 'DB/common.php';
@@ -27,7 +27,7 @@
* extension.
*
* @package DB
- * @version $Id: pgsql.php,v 1.82 2004/09/25 21:58:00 danielc Exp $
+ * @version $Id: pgsql.php,v 1.83 2004/10/04 17:53:09 danielc Exp $
* @category Database
* @author Rui Hirokawa <hirokawa@php.net>
* @author Stig Bakken <ssb@php.net>
@@ -252,6 +252,7 @@
'/ttribute [\"\'].*[\"\'] not found$|[Rr]elation
[\"\'].*[\"\'] does not have attribute [\"\'].*[\"\']/'
=> DB_ERROR_NOSUCHFIELD,
'/parser: parse error at or near \"/' => DB_ERROR_SYNTAX,
'/syntax error at/' => DB_ERROR_SYNTAX,
+ '/permission denied/' => DB_ERROR_ACCESS_VIOLATION,
'/violates not-null constraint/' =>
DB_ERROR_CONSTRAINT_NOT_NULL,
'/violates [\w ]+ constraint/' => DB_ERROR_CONSTRAINT,
'/referential integrity violation/' => DB_ERROR_CONSTRAINT