Sql: SqlBinary for PGSQL now prepends E before string to achieve PGSQL9 compatibility

git-svn-id: svn://ultimatepp.org/upp/trunk@4976 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-05-20 16:01:36 +00:00
parent bdd9f06ee2
commit 072f2c6cfb

View file

@ -177,7 +177,7 @@ void SqlCompile(const char *&s, StringBuffer *r, byte dialect)
else
switch(dialect) {
case PGSQL: {
*r << "\'";
*r << "E\'";
const char *e = s + l;
while(s < e) {
byte c = *s++;