Re: Patch: Use notices in PDO
| From: | Samuel ROZE | Date: | Fri, 09 Oct 2009 20:31:09 +0000 |
| Subject: | Re: Patch: Use notices in PDO | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45713@lists.php.net to get a copy of this message | ||
Just a little question:
- How I can propose my patch to be merged to PHP ?
Rather suggest.. :-)
Le jeudi 08 octobre 2009 à 23:51 +0200, Samuel ROZE a écrit :
> 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:
> >R—
> çì„87l® úFªohttp://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.
>