Re: [PHP-DEV] Re: [PHP-DB] PDO PgSQL: _pdo_pgsql_notice

2009-10-05 Thread Samuel ROZE
Sorry, forget this email, it is just a silly forward of my mail to php-db mailing list, where there's someone who said me that i must discuss about the C code with you... Sorry. Samuel. Le mardi 06 octobre 2009 à 07:22 +0200, Samuel ROZE a écrit : > To use PostgreSQL's Notices with PDO, i'm modif

[PHP-DEV] Re: [PHP-DB] PDO PgSQL: _pdo_pgsql_notice

2009-10-05 Thread Samuel ROZE
To use PostgreSQL's Notices with PDO, i'm modifying the source for trying to store into "errmsg" (which I can get with PDO::errorInfo) the notice. The "_pdo_pgsql_notice" function is called everytime that there's an notice. The notice message is in the "message" var. This what i had tried: --