From: Jonathan McDowell <noodles@earth.li>
Date: Sat, 26 Dec 2009 12:16:02 +0000 (+0000)
Subject: Change PostgreSQL backend to use PQescapeStringConn
X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/d060a4874d44c3cbe0681db81fca0e7e892f3537?hp=d060a4874d44c3cbe0681db81fca0e7e892f3537

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