# PDO PgSQL: _pdo_pgsql_notice

- Thread: https://externals.io/message/45672
- Original archive: https://news-web.php.net/php.internals/45672
- Started by samuel.roze@aliceadsl.fr on 2009-10-06T11:38:14+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #45672 — samuel.roze@aliceadsl.fr — 2009-10-06T11:38:14+00:00

URL: https://externals.io/message/45672#45672

Hi,

> 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.

I think i'll have to make a "noticemsg" var, but I don't
know how implement a new "noticeInfo" (or somethink like
that) function to get this value. The better way is to
create a new array "notices" (or a function which returns an
array) into the PDOStatement, because the notice is
generally linked to the statement. But, sometimes not...

> 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.

Actually, the PosgreSQL driver for PDO don't report
notices.. The content of "_pdo_pgsql_notice" is commented !

Thanks a lot for the time you passed/you'll pass !
Samuel.


---------------------- ALICE N°1 de la RELATION CLIENT 2008*--------------------
Découvrez vite l'offre exclusive ALICE BOX! En cliquant ici http://abonnement.aliceadsl.fr Offre soumise à conditions.*Source : TNS SOFRES / BEARING POINT. Secteur Fournisseur d.Accès Internet
