Re: non-standard escapes in string literals - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: non-standard escapes in string literals
Date
Msg-id 200204252022.g3PKMA814482@candle.pha.pa.us
Whole thread Raw
In response to Re: non-standard escapes in string literals  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: non-standard escapes in string literals  (Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>)
List pgsql-hackers
Tom Lane wrote:
> F Harvell <fharvell@fts.net> writes:
> > This also poses the biggest problem in terms of legacy compatibility.
> > Perhaps the answer is to add a runtime config option (and default it
> > to ANSI) and possibly deprecate the C escaping.
> 
> While I wouldn't necessarily object to a runtime option, I do object
> to both the other parts of your proposal ;-).  Backslash escaping is
> not broken; we aren't going to remove it or deprecate it, and I would
> vote against making it non-default.

Added to TODO:
* Allow backslash handling in quoted strings to be disabled for portability

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Michael Loftis
Date:
Subject: Re: What is wrong with hashed index usage?
Next
From: Bruce Momjian
Date:
Subject: Re: md5 passwords and pg_shadow