Re: PDO PgSQL: _pdo_pgsql_notice
| From: | Chris | Date: | Mon, 05 Oct 2009 22:14:16 +0000 |
| Subject: | Re: PDO PgSQL: _pdo_pgsql_notice | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46567@lists.php.net to get a copy of this message | ||
Samuel ROZE wrote:
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:You'll need to take this suggestion to the php-internals mailing list. They write and discuss the C code behind php so they'll be able to help you. -- Postgresql & php tutorials http://www.designmagick.com/