id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 5160,Escaping problem in PGDump driver with Postgres >= 9.1,Even Rouault,Even Rouault,"Since Postgres 9.1 (http://www.postgresql.org/docs/9.1/static/sql-syntax-lexical.html#SQL-SYNTAX-STRINGS) the escaping rules have changed : ""If the configuration parameter standard_conforming_strings is off, then PostgreSQL recognizes backslash escapes in both regular and escape string constants. However, as of PostgreSQL 9.1, the default is on, meaning that backslash escapes are recognized only in escape string constants. This behavior is more standards-compliant, but might break applications which rely on the historical behavior, where backslash escapes were always recognized. As a workaround, you can set this parameter to off, but it is better to migrate away from using backslash escapes. If you need to use a backslash escape to represent a special character, write the string constant with an E."" A workaround for now that will work for all Postgres versions is to emit ""SET standard_conforming_strings = OFF"" Later we could just remove that line and remove escaping of backslashes.",defect,closed,normal,1.10.1,OGR_SF,unspecified,normal,fixed,pg postgresql escaping,