Re: Backslashes in string literals - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Backslashes in string literals
Date
Msg-id 200512091723.jB9HNjB16785@candle.pha.pa.us
Whole thread Raw
In response to Backslashes in string literals  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Backslashes in string literals
List pgsql-hackers
I think we we will be turning on escape_string_warning in 8.2 and allow
standard_conforming_strings to be optionally turned on in that releaes.
I will keep the patch for us in completing that item.

This has been saved for the 8.2 release:
http://momjian.postgresql.org/cgi-bin/pgpatches_hold

---------------------------------------------------------------------------

Kevin Grittner wrote:
> I've just been bitten by the "backslash in string literals" issue.  I
> have reviewed the mailing lists and the TODO list.  I see that the
> direction PostgreSQL is headed is to drop the nonstandard escapes,
> unless an extended literal is explicitly used.  I've attached a patch
> which supports this as a configure option, using a
> --enable-standard-strings switch.  It's probably somewhat naive, but
> maybe it can be helpful.
> 
> -Kevin
> 
> 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Warm-cache prefetching
Next
From: Peter Eisentraut
Date:
Subject: Re: Backslashes in string literals