# pg_escape_string and pdo equivalent

- Thread: https://externals.io/message/25758
- Original archive: https://news-web.php.net/php.internals/25758
- Started by Lukas Kahwe Smith on 2006-09-18T13:03:03+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #25758 — Lukas Kahwe Smith — 2006-09-18T13:03:03+00:00

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

Hi,

it seems that PHP was not updated to make use of PQescapeStringConn from 
libpq. Looking at ext/pgsql and pdo_pgsql they both still seem to be 
using PQescapeString.

regards,
Lukas
