Hi Yasuo:

> I've posted pgsql patch that adds
> pg_escape_literal()/pg_escape_identifier()

pg_escape_identifier() sounds good.

Regarding pg_escape_literal(), which implements PQescapeLiteral, it is
very similar to PHP's pg_esacpe_string(), implementing
PQescapeStringConn.  What is the benefit of adding this new function?

(For those wanting more info, see:
http://developer.postgresql.org/pgdocs/postgres/libpq-exec.html )

Thanks,

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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to