Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 12F191337B69 for ; Wed, 11 May 2011 00:46:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 22025-10 for ; Wed, 11 May 2011 03:46:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id B0BC51337B4E for ; Wed, 11 May 2011 00:46:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p4B3k5f1018743; Tue, 10 May 2011 23:46:05 -0400 (EDT) To: Bruce Momjian cc: depesz@depesz.com, Martin Pitt , PostgreSQL Bugs Subject: Re: Changed behaviour of \' In-reply-to: <201105110057.p4B0v5D18366@momjian.us> References: <201105110057.p4B0v5D18366@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Tue, 10 May 2011 20:57:05 -0400" Date: Tue, 10 May 2011 23:46:05 -0400 Message-ID: <18742.1305085565@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/78 X-Sequence-Number: 30217 Bruce Momjian writes: > Tom Lane wrote: >> Hmm ... considering that's the first thing in the release notes, I'm >> surprised Martin missed it. Maybe he was looking for something >> mentioning backslashes ... should we add a bit that specifically says >> that backslashes are now no-ops by default? > I added the word "backslash" before escapes in the attached applied > patch. Actually, I had something more like this in mind ... commit ea964a451e51a32b71d004d261874adb1e135066 Author: Tom Lane Date: Tue May 10 23:44:33 2011 -0400 Be more explicit about the meaning of the change in standard_conforming_strings. diff --git a/doc/src/sgml/release-9.1.sgml b/doc/src/sgml/release-9.1.sgml index 7737381..280e0bb 100644 --- a/doc/src/sgml/release-9.1.sgml +++ b/doc/src/sgml/release-9.1.sgml @@ -58,8 +58,9 @@ - This removes a long-standing incompatibility with the SQL - standard; escape_string_warning has produced warnings about this usage for years. E'' strings are the proper way to embed backslash escapes in strings and are regards, tom lane