apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Rossi <...@brasko.net>
Subject Why not use PQescapeStringConn instead of PQescapeString?
Date Wed, 18 Apr 2012 18:40:21 GMT
Hi,

I noticed in apr_dbd_escape that it uses PQescapeString instead of
PQescapeStringConn.

PQescapeString is deprecated and dangerous. The documentation says,
  *it might give the wrong results*
http://www.postgresql.org/docs/9.1/static/libpq-exec.html

Is there any objection to changing the API call?

Thanks,
Bob

Mime
View raw message