]> the.earth.li Git - onak.git/commit
Change PostgreSQL backend to use PQescapeStringConn
authorJonathan McDowell <noodles@earth.li>
Sat, 26 Dec 2009 12:16:02 +0000 (12:16 +0000)
committerJonathan McDowell <noodles@earth.li>
Sat, 26 Dec 2009 12:16:02 +0000 (12:16 +0000)
commitd060a4874d44c3cbe0681db81fca0e7e892f3537
treec5713b6a1d8283056068a5453efd50ad00088def
parent52efac0f79343cd80f1b7815ea416fc4036aa54b
Change PostgreSQL backend to use PQescapeStringConn

  While the PostgreSQL backend is not known to be in use anywhere we were
  using an older escaping function (PQescapeString) which does not have
  knowledge of the connection character encoding and so has potential
  problems. Switch to using PQescapeStringConn, which does have this
  knowledge.
keydb_pg.c