Hi Christopher,
2009/10/19 Christopher Jones christopher.jo...@oracle.com:
The new interface combines system generated error messages with user
generated messages.
I think you're talking about Oracle.
The original PostgreSQL example I saw seemed to use arbitrary text
messages, similar to
Samuel ROZE wrote:
http://wiki.php.net/rfc/pdonotices
Samuel.
The new interface combines system generated error messages with user
generated messages.
The original PostgreSQL example I saw seemed to use arbitrary text
messages, similar to Oracle's DBMS_OUTPUT (page 181 of
Folks:
http://tinyurl.com/UGPOM
The actual URI for that is
http://www.oracle.com/technology/tech/php/pdf
/underground-php-oracle-manual.pdf.
I encourage people to reconsider widespread use of URI shortening
services. They lose any clues readers may want as to what the resource
is and
On 13.10.2009, at 10:34, Samuel ROZE wrote:
http://wiki.php.net/rfc/pdonotices
I assume that calling noticeInfo() will also purge all currently
stored notices (maybe controllable via some parameter)?
For MySQL we would have to throw an error/exception in case there is a
result set
Le jeudi 15 octobre 2009 à 11:08 +0200, Lukas Kahwe Smith a écrit :
On 13.10.2009, at 10:34, Samuel ROZE wrote:
http://wiki.php.net/rfc/pdonotices
I assume that calling noticeInfo() will also purge all currently
stored notices (maybe controllable via some parameter)?
If purge all
On 15.10.2009, at 19:40, Samuel ROZE wrote:
Le jeudi 15 octobre 2009 à 11:08 +0200, Lukas Kahwe Smith a écrit :
On 13.10.2009, at 10:34, Samuel ROZE wrote:
http://wiki.php.net/rfc/pdonotices
I assume that calling noticeInfo() will also purge all currently
stored notices (maybe
http://wiki.php.net/rfc/pdonotices
Samuel.
2009/10/12 Samuel ROZE samuel.r...@gmail.com:
Here is what I expect for the notices fetching in PDO:
http://www.d-sites.com/wp-content/uploads/2009/10/RFC-PDO-Notices.pdf
Samuel.
Le lundi 12 octobre 2009 à 19:11 +0200, Lukas Kahwe Smith a écrit :
Hi,
hmm why do you think that PDO would need to take special care about
this? seems like this is the job of the PDO using code ..
Depending on how PDO's code is written, it could inadvertently blow away
metadata without a user knowing it.
but it does raise one concern that i did not
hi,
On Mon, Oct 12, 2009 at 11:58 AM, Matteo Beccati p...@beccati.com wrote:
Given the recent posts, I'd vote to only add whatever is needed for the
drivers to access the extra data. That means to only add the specific
pgsql code to gather notices as the mysql and oracle drivers are already
On 12.10.2009, at 12:07, Pierre Joye wrote:
hi,
On Mon, Oct 12, 2009 at 11:58 AM, Matteo Beccati p...@beccati.com
wrote:
Given the recent posts, I'd vote to only add whatever is needed for
the
drivers to access the extra data. That means to only add the specific
pgsql code to gather
On 12.10.2009, at 19:00, Samuel ROZE wrote:
Hi,
I'm writing here to take a point about the discussion. On one side,
you
want to turn this functionality to a global function, like it is
describe into this patch and on the other side, you said that on MySQL
and Oracle we can get this notices
Hi,
I'm writing here to take a point about the discussion. On one side, you
want to turn this functionality to a global function, like it is
describe into this patch and on the other side, you said that on MySQL
and Oracle we can get this notices with queries so it is not needed for
them but only
Here is what I expect for the notices fetching in PDO:
http://www.d-sites.com/wp-content/uploads/2009/10/RFC-PDO-Notices.pdf
Samuel.
Le lundi 12 octobre 2009 à 19:11 +0200, Lukas Kahwe Smith a écrit :
[...]
well .. what Pierre (and me supporting him) was asking for is to
create an RFC page
hi Samuel,
May I ask you to do it in the wiki? We have a dedicated section there:
http://wiki.php.net/RFC
Cheers,
On Mon, Oct 12, 2009 at 10:13 PM, Samuel ROZE samuel.r...@gmail.com wrote:
Here is what I expect for the notices fetching in PDO:
Le samedi 10 octobre 2009 à 19:43 +0100, Lester Caine a écrit :
[...]
It is the case for MySQL and Oracle...so for your mind, we don't have to
make this option available ? I disagree because PDO want make that PHP
codes support many Databases and if I want to get this notices on MySQL,
I
Hi:
If the notice/warning gathering abstraction is going to be sending
queries to the DBMS in the background, one needs to be careful about
maintaining both the results and metadata from the original query that
caused the warnings.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N
Hi,
Le dimanche 11 octobre 2009 à 11:55 -0400, Daniel Convissor a écrit :
Hi:
If the notice/warning gathering abstraction is going to be sending
queries to the DBMS in the background, one needs to be careful about
maintaining both the results and metadata from the original query that
On 11.10.2009, at 17:55, Daniel Convissor wrote:
If the notice/warning gathering abstraction is going to be sending
queries to the DBMS in the background, one needs to be careful about
maintaining both the results and metadata from the original query that
caused the warnings.
hmm why do you
Lukas Kahwe Smith wrote:
On 11.10.2009, at 17:55, Daniel Convissor wrote:
If the notice/warning gathering abstraction is going to be sending
queries to the DBMS in the background, one needs to be careful about
maintaining both the results and metadata from the original query that
caused the
Hi Lukas:
hmm why do you think that PDO would need to take special care about
this? seems like this is the job of the PDO using code ..
Depending on how PDO's code is written, it could inadvertently blow away
metadata without a user knowing it.
but it does raise one concern that i did
On Fri, Oct 9, 2009 at 11:12 PM, Samuel ROZE samuel.r...@gmail.com wrote:
Le vendredi 09 octobre 2009 à 23:05 +0200, Pierre Joye a écrit :
About applying it, we should wait a bit more until we get more
feedbacks (say until the middle of next week).
Oh yeah of course ! It was just a question
Ferenc Kovacs wrote:
Then see how we can do it for the other drivers at the same time.
I'm looking for Oracle.
Is somebody know how we can do for MySQL (and how raise notices with
it) ?
http://dev.mysql.com/doc/refman/5.1/en/show-warnings.html
Something to consider here is that, like MySQL
Le samedi 10 octobre 2009 à 15:51 +0100, Lester Caine a écrit :
Ferenc Kovacs wrote:
Then see how we can do it for the other drivers at the same time.
I'm looking for Oracle.
Is somebody know how we can do for MySQL (and how raise notices with
it) ?
On 10.10.2009, at 19:32, Samuel ROZE wrote:
Le samedi 10 octobre 2009 à 15:51 +0100, Lester Caine a écrit :
Ferenc Kovacs wrote:
Then see how we can do it for the other drivers at the same time.
I'm looking for Oracle.
Is somebody know how we can do for MySQL (and how raise notices
with
Samuel ROZE wrote:
Le samedi 10 octobre 2009 à 15:51 +0100, Lester Caine a écrit :
Ferenc Kovacs wrote:
Then see how we can do it for the other drivers at the same time.
I'm looking for Oracle.
Is somebody know how we can do for MySQL (and how raise notices with
it) ?
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
-
Hi,
First thanks to have updated the patch according to our last feedback :)
About applying it, we should wait a bit more until we get more
feedbacks (say until the middle of next week). Then see how we can do
it for the other drivers at the same time.
Cheers,
--
Pierre
On Fri, Oct 9, 2009 at
Le vendredi 09 octobre 2009 à 23:05 +0200, Pierre Joye a écrit :
About applying it, we should wait a bit more until we get more
feedbacks (say until the middle of next week).
Oh yeah of course ! It was just a question to know how it happened. ;-)
Then see how we can do it for the other
There's an example, using PostgreSQL driver:
?php
$sql = new PDO('pgsql:host=localhost;dbname=postgres', 'postgres', '',
array(
PDO::ATTR_LOG_NOTICES = PDO::NOTICES_FETCH
));
var_dump($sql);
echo getAttribute: ;
29 matches
Mail list logo