Skip to content
This repository
Browse code

Fix standard_conforming_strings for postgres

  • Loading branch information...
commit 26905651a1245fbec696e89344a47a3548b7dffa 1 parent 2baabb6
Anatoliy Chakkaev authored September 13, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/adapters/postgres.js
2  lib/adapters/postgres.js
@@ -510,7 +510,7 @@ function escape(val) {
510 510
       default: return "\\"+s;
511 511
     }
512 512
   });
513  
-  return "'"+val+"'";
  513
+  return "E'"+val+"'";
514 514
 };
515 515
 
516 516
 function datatype(p) {

0 notes on commit 2690565

Please sign in to comment.
Something went wrong with that request. Please try again.