Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E22E81337BB4 for ; Tue, 10 May 2011 13:37:23 -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 26587-09 for ; Tue, 10 May 2011 16:37:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from depesz.com (andy.depesz.com [88.198.47.100]) by mail.postgresql.org (Postfix) with ESMTP id EA9601337B80 for ; Tue, 10 May 2011 13:37:04 -0300 (ADT) Received: from andy.depesz.com ([88.198.47.100] helo=depesz.com) by depesz.com with esmtpa (Exim 4.75) (envelope-from ) id 1QJpvj-0006jj-4s for pgsql-bugs@postgresql.org; Tue, 10 May 2011 18:37:03 +0200 Date: Tue, 10 May 2011 18:37:02 +0200 From: hubert depesz lubaczewski To: PostgreSQL Bugs Subject: Re: Changed behaviour of \' Message-ID: <20110510163702.GA23678@depesz.com> Reply-To: depesz@depesz.com References: <20110510162023.GA2490@piware.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110510162023.GA2490@piware.de> User-Agent: Mutt/1.5.21 (2010-09-15) 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/72 X-Sequence-Number: 30211 On Tue, May 10, 2011 at 06:20:23PM +0200, Martin Pitt wrote: > Since HISTORY does not mention this, is that an explicit decision to > finally deprecate the old \' syntax (which would be great, as it makes > this thing a lot more robust and deterministic, but it might be worth > mentioning it in HISTORY), or an unintended side effect? release notes clearly mentions is: http://developer.postgresql.org/pgdocs/postgres/release-9-1.html >> - Change the default value of standard_conforming_strings to on (Robert Haas) >> 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 escapes in strings and are unaffected by >> this change. Best regards, depesz -- The best thing about modern society is how easy it is to avoid contact with it. http://depesz.com/