Re: postgresql DB::quoteSmart
| From: | Daniel Convissor | Date: | Mon, 29 Mar 2004 04:22:47 +0000 |
| Subject: | Re: postgresql DB::quoteSmart | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26839@lists.php.net to get a copy of this message | ||
On Mon, Mar 29, 2004 at 12:03:24AM +0200, Thomas Jarosch wrote:
>
> Is there a reason it shouldn't use pg_escape_string() for that?
Docblock to escapeSimple() in the source code of pgsql.php says:
* Not using pg_escape_string() yet because it requires PostgreSQL
* to be at version 7.2 or greater.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409