Hi,

I've make a patch which insert notices concepts to PDO. It create:
- PDO::noticeInfo() - to be like errorInfo
- PDO::ATTR_LOG_NOTICES, the name of the PDO parameter
        - PDO::NOTICES_FETCH - fetch notices
        - PDO::NOTICES_NONE - don't fetch notices

The notices HashTable is emptied at each queries.

There is a patch to implements this function into PDO:
http://www.d-sites.com/wp-content/uploads/2009/10/php-5_3-pdo-notices-managment.patch

And one other to implements notices recuperation for PostgreSQL:
http://www.d-sites.com/wp-content/uploads/2009/10/php-5_3-pdo-pgsql-notices-managment.patch

It can be done for Oracle, i'm sure.

Thanks for feedbacks.
Samuel.


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to