Re: BUG #3872: backslash_quote = off doesn't work any more - Mailing list pgsql-bugs

From Tomasz Ostrowski
Subject Re: BUG #3872: backslash_quote = off doesn't work any more
Date
Msg-id 20080116134329.GB18961@batory.org.pl
Whole thread Raw
In response to BUG #3872: backslash_quote = off doesn't work any more  ("David Gradwell" <david@gradwell.com>)
List pgsql-bugs
On Mon, 14 Jan 2008, David Gradwell wrote:

> Description:        backslash_quote = off doesn't work any more

I think you need to
    set standard_conforming_strings=on;
instead.

Then:
    select '\''012'::text;
     text
    -------
     \'012
    (1 row)

     select '\012'::text;
     text
    ------
     \012
    (1 row)

I think this backslash_quote is ignored when
standard_conforming_strings is on.

Regards
Tometzky
--
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
                                                      Winnie the Pooh

pgsql-bugs by date:

Previous
From: "David Gradwell"
Date:
Subject: BUG #3872: backslash_quote = off doesn't work any more
Next
From: Tom Lane
Date:
Subject: Re: BUG #3872: backslash_quote = off doesn't work any more