Postgresql 9.1 选项standard_conforming_strings默认值为on,
[standard_conforming_strings (boolean)](http://www.postgresql.org/docs/9.3/static/runtime-config-compatible.html)
This controls whether ordinary string literals ('...') treat backslashes literally,as specified in the sql standard. Beginning in Postgresql 9.1,the default is on (prior releases defaulted to off). Applications can check this parameter to determine how string literals will be processed. The presence of this parameter can also be taken as an indication that the escape string Syntax (E'...') is supported. Escape string Syntax (Section 4.1.2.2) should be used if an application desires backslashes to be treated as escape characters.
原文链接:https://www.f2er.com/postgresql/195871.html