Re: PDO PgSQL: _pdo_pgsql_notice
| From: | Matteo Beccati | Date: | Tue, 06 Oct 2009 07:28:11 +0000 |
| Subject: | Re: PDO PgSQL: _pdo_pgsql_notice | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45671@lists.php.net to get a copy of this message | ||
Samuel ROZE ha scritto:
> 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.
I might find some time to look at it shortly. Not sure using "errmsg" is
appropriate though, as notices are usually returning additional
information, not error messages.
Please allow some time for me to check how they are currently dealt with
in the pgsql extension and to see how they can be implemented in the
PDO driver.
Cheers
--
Matteo Beccati