It's a good idea.

- PDO::NOTICES_FETCH -> PDO::NOTICES_ENABLED
- PDO::NOTICES_NONE  -> PDO::NOTICES_DISABLED

That's better ?

I see that you are from the Oracle team. Can you explain me how oracle
works to raise notices like PostgreSQL ? Or can you build a proof of
concept to get notices from Oracle ?

Thanks.
Samuel.

Le jeudi 08 octobre 2009 à 15:22 -0700, Christopher Jones a écrit :
> 
> Samuel ROZE wrote:
> > 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
> 
> I initially took "FETCH" to mean it was related to a query; this
> wouldn't always be the case.  What about calling it NOTICES_ENABLE?
> 
> Chris
> 


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

Reply via email to