cvs: php4 /pear/DB pgsql.php

From: Date: Tue, 18 Sep 2001 18:42:42 +0000
Subject: cvs: php4 /pear/DB pgsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-855@lists.php.net to get a copy of this message
cox Tue Sep 18 14:42:42 2001 EDT Modified files: /php4/pear/DB pgsql.php Log: added error msg mapping for DB_ERROR_NOSUCHFIELD in Postgres 7.x Index: php4/pear/DB/pgsql.php diff -u php4/pear/DB/pgsql.php:1.47 php4/pear/DB/pgsql.php:1.48 --- php4/pear/DB/pgsql.php:1.47 Wed Sep 12 10:05:35 2001 +++ php4/pear/DB/pgsql.php Tue Sep 18 14:42:42 2001 @@ -17,7 +17,7 @@ // | Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.47 2001/09/12 14:05:35 cox Exp $ +// $Id: pgsql.php,v 1.48 2001/09/18 18:42:42 cox Exp $ // // Database independent query interface definition for PHP's PostgreSQL // extension. @@ -222,7 +222,7 @@ '/Relation \'.*\' already exists/' => DB_ERROR_ALREADY_EXISTS, '/divide by zero$/' => DB_ERROR_DIVZERO, '/pg_atoi: error in .*: can\'t parse /' => DB_ERROR_INVALID_NUMBER, - '/ttribute \'.*\' not found$/' => DB_ERROR_NOSUCHFIELD, + '/ttribute \'.*\' not found$|Relation \'.*\' does not have attribute \'.*\'/' => DB_ERROR_NOSUCHFIELD, '/parser: parse error at or near \"/' => DB_ERROR_SYNTAX, '/referential integrity violation/' => DB_ERROR_CONSTRAINT );

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