pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: depesz@depesz.com
Cc: Martin Pitt <mpitt@debian.org>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Changed behaviour of \'
Date: Tue, 10 May 2011 12:44:37 -0400
Message-ID: <18205.1305045877@sss.pgh.pa.us> (raw)
In-Reply-To: <20110510163702.GA23678@depesz.com>
References: <20110510162023.GA2490@piware.de>
	<20110510163702.GA23678@depesz.com>

hubert depesz lubaczewski <depesz@depesz.com> writes:
> 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. 

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?

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <18205.1305045877@sss.pgh.pa.us>
Permalink:  ../18205.1305045877@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18205.1305045877@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, depesz@depesz.com, mpitt@debian.org
  Subject: Re: Changed behaviour of \'
  In-Reply-To: <18205.1305045877@sss.pgh.pa.us>
  References: <20110510162023.GA2490@piware.de> <20110510163702.GA23678@depesz.com> <18205.1305045877@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox