PostgreSQL Bugs List wrote: > Description: Backslash ecape charcter violates ISO/ANSI spec and is > hazardous > > Details: > > I can't find any option to run the server in a more standard mode for string > escaping rules, of only needing to escape single quotes. The current > backslash-escape behavior is a huge problem for SQL statement portability, a > spec violation, and blindsides developers coming from Oracle, Sybase, MS, > etc.
We have a TODO item: * Allow backslash handling in quoted strings to be disabled for portability The use of C-style backslashes (.e.g. \n, \r) in quoted strings is not SQL-spec compliant, so allow such handling to be disabled. Unfortunately that's all we have. :-) -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster