Re: [BUGS] Changed behaviour of \'

2011-05-11 Thread Magnus Hagander
On Wed, May 11, 2011 at 16:25, Bruce Momjian wrote: > Tom Lane wrote: >> 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 ... sho

Re: [BUGS] Changed behaviour of \'

2011-05-11 Thread Bruce Momjian
Tom Lane wrote: > 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 backslashe

Re: [BUGS] Changed behaviour of \'

2011-05-10 Thread Tom Lane
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?

Re: [BUGS] Changed behaviour of \'

2011-05-10 Thread Bruce Momjian
Tom Lane wrote: > hubert depesz lubaczewski 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 robu

Re: [BUGS] Changed behaviour of \'

2011-05-10 Thread Martin Pitt
hubert depesz lubaczewski [2011-05-10 18:37 +0200]: > 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) > [...] Ah, of course. Thanks! (grep failure, sorry)

Re: [BUGS] Changed behaviour of \'

2011-05-10 Thread Tom Lane
hubert depesz lubaczewski 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

Re: [BUGS] Changed behaviour of \'

2011-05-10 Thread hubert depesz lubaczewski
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 HIS

[BUGS] Changed behaviour of \'

2011-05-10 Thread Martin Pitt
Hello again, sorry for spamming you today, but I promise that this is the last mail; it's the one remaining test case failure for me. I have some test cases to verify the handling of the obsolete \' escaping in different locales (cf. CVE-2006-2313). Up to 9.0, \' was still allowed in safe locale