DB: forgotten @ before some pg_exec() in pgsql.php
| From: | Ondrej Jombik | Date: | Thu, 22 Aug 2002 20:12:05 +0000 |
| Subject: | DB: forgotten @ before some pg_exec() in pgsql.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8589@lists.php.net to get a copy of this message | ||
Maxim, 22:05:12
22. august 2002 (stvrtok)
Greetings!
In pgsql.php file of PEAR DB package is not present '@' character
before few pg_exec() calls (function name), what causes ugly PHP warnings
especially when quering table with wrong name (for example if doesn't
exists).
Others pg_exec() calls in that module already contains @ before
function name, so I think that should be present every pg_exec() call to
avoid confusion. Anyway, appropriate error handling stuff is implemented, so
from my point of view there is really no need for ugly PHP warnings
printing.
Thanks,
=Nepto=
____________________________________________________________________________
Ondrej 'Nepto' Jombik, http://www.nepto.sk/
nepto@atomicpile.sk