Hi,
On Thu, 2009-10-08 at 23:51 +0200, Samuel ROZE wrote:
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
Just a quick note: This changes the ABI so it can't be done in 5.3.
johannes
--
PHP
Sorry but what is ABI ?
Le lundi 12 octobre 2009 à 12:50 +0200, Johannes Schlüter a écrit :
Hi,
On Thu, 2009-10-08 at 23:51 +0200, Samuel ROZE wrote:
There is a patch to implements this function into PDO:
2009/10/12 Samuel ROZE samuel.r...@gmail.com:
Sorry but what is ABI ?
http://en.wikipedia.org/wiki/Application_binary_interface
--
Pierre
http://blog.thepimp.net | http://www.libgd.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
Samuel ROZE wrote:
It's a good idea.
- PDO::NOTICES_FETCH - PDO::NOTICES_ENABLED
- PDO::NOTICES_NONE - PDO::NOTICES_DISABLED
That's better ?
That works.
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
Christopher Jones ha scritto:
Samuel ROZE wrote:
It's a good idea.
- PDO::NOTICES_FETCH - PDO::NOTICES_ENABLED
- PDO::NOTICES_NONE - PDO::NOTICES_DISABLED
That's better ?
That works.
I see that you are from the Oracle team. Can you explain me how oracle
works to raise notices like
Well, if I understood, DBMS_OUTPUT returns user's notices or warning,
but no errors ?
In the standart way, in console, how the notices are printed ?
Is DBMS_OUTPUT used both by Pl/SQL function and Oracle functions?
Thanks.
Samuel.
2009/10/9 Christopher Jones christopher.jo...@oracle.com:
PDO::NOTICES_DISABLED
PDO::NOTICES_ARRAY
to allow space for different formats (e.g. PDO::NOTICES_RESULTSET)?
I not but what is the real interest of returning another type of data.
And, what can be the other type ? It can have one notice as having
many.
PL/SQL also has compile time warnings
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
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;
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
10 matches
Mail list logo