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 200204251441.g3PEfup12159@candle.pha.pa.us
Whole thread Raw
In response to non-standard escapes in string literals  (pimlott@idiomtech.com (Andrew Pimlott))
Responses Re: non-standard escapes in string literals  (F Harvell <fharvell@fts.net>)
List pgsql-hackers
Andrew Pimlott wrote:
> I posted this some time ago to pgsql-bugs[1], to no response.  So
> I'll venture to try here.
> 
> Postgres breaks the standard for string literals by supporting
> C-like escape sequences.  This causes pain for people trying to
> write portable applications.  Is there any hope for an option to
> follow the standard strictly?

This is actually the first time this has come up (that I remember).  We
do support C escaping, but you are the first to mention that it can
cause problems for portable applications.

Anyone else want to comment?  I don't know how to address this.

--  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: Bruce Momjian
Date:
Subject: Re: WAL -> Replication
Next
From: Bruce Momjian
Date:
Subject: Re: Sequential Scan Read-Ahead