cvs: pear /DB/DB pgsql.php
| From: | Jan Lehnardt | Date: | Sat, 30 Mar 2002 17:21:17 +0000 |
| Subject: | cvs: pear /DB/DB pgsql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2911@lists.php.net to get a copy of this message | ||
jan Sat Mar 30 12:21:17 2002 EDT
Modified files:
/pear/DB/DB pgsql.php
Log:
- fix typo by user request, not sure though ;)
Index: pear/DB/DB/pgsql.php
diff -u pear/DB/DB/pgsql.php:1.2 pear/DB/DB/pgsql.php:1.3
--- pear/DB/DB/pgsql.php:1.2 Sat Feb 23 20:38:23 2002
+++ pear/DB/DB/pgsql.php Sat Mar 30 12:21:17 2002
@@ -17,7 +17,7 @@
// | Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: pgsql.php,v 1.2 2002/02/24 01:38:23 hirokawa Exp $
+// $Id: pgsql.php,v 1.3 2002/03/30 17:21:17 jan Exp $
//
// Database independent query interface definition for PHP's PostgreSQL
// extension.
@@ -236,7 +236,7 @@
if (empty($error_regexps)) {
$error_regexps = array(
'/(Table does not exist\.|Relation [\"\'].*[\"\'] does not
exist|sequence does not exist|class ".+" not found)$/' => DB_ERROR_NOSUCHTABLE,
- '/Relation [\"\'].*[\"\'] already exists|Cannot insert a
duplicate key into (a )?unique index.*/' => DB_ERROR_ALREADY_EXISTS,
+ '/Relation [\"\'].*[\"\'] already exists|Cannot insert a
duplicate key into unique index.*/' => DB_ERROR_ALREADY_EXISTS,
'/divide by zero$/' => DB_ERROR_DIVZERO,
'/pg_atoi: error in .*: can\'t parse /' =>
DB_ERROR_INVALID_NUMBER,
'/ttribute [\"\'].*[\"\'] not found$|Relation
[\"\'].*[\"\'] does not have attribute [\"\'].*[\"\']/'
=> DB_ERROR_NOSUCHFIELD,
@@ -805,4 +805,4 @@
// tab-width: 4
// c-basic-offset: 4
// End:
-?>
\ No newline at end of file
+?>