Backslashes in string literals - Mailing list pgsql-hackers

From Kevin Grittner
Subject Backslashes in string literals
Date
Msg-id 43981527.EE98.0025.0@wicourts.gov
Whole thread Raw
Responses Re: Backslashes in string literals  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Backslashes in string literals  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: "Ricardo Vaz - TCESP"
Date:
Subject: Log of CREATE USER statement
Next
From: Kenneth Marshall
Date:
Subject: Re: Warm-cache prefetching