From 072f2c6cfb73fbfcbe7bdfb12984b6faf95f47f4 Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 20 May 2012 16:01:36 +0000 Subject: [PATCH] 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 --- uppsrc/Sql/SqlCase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Sql/SqlCase.cpp b/uppsrc/Sql/SqlCase.cpp index fa933bb67..edc8a114d 100644 --- a/uppsrc/Sql/SqlCase.cpp +++ b/uppsrc/Sql/SqlCase.cpp @@ -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++;