Re: Unescaped new lines in postgres - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Unescaped new lines in postgres
Date
Msg-id 200111230426.fAN4QGA26908@candle.pha.pa.us
Whole thread Raw
In response to Unescaped new lines in postgres  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: Unescaped new lines in postgres
List pgsql-hackers
Can you show an example?

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

> >From the gcc 3.0.2 release ntoes:
> 
> "The poorly documented extension that allowed string constants in C, C++ and
> Objective C to contain unescaped newlines has been deprecated and may be
> removed in a future version. Programs using this extension may be fixed in
> several ways: the bare newline may be replaced by \n, or preceded by \n\, or
> string concatenation may be used with the bare newline preceded by \n" and "
> placed at the start of the next line. "
> 
> I seem to recall that I came across a fair bit of this kind of thing in the
> psql source code at least.  I wonder if it should be fixed to be
> compliant...
> 
> Chris
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 

--  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: Lamar Owen
Date:
Subject: Re: v7.2b3 packaged, but not announced beyond here yet ...
Next
From: Vince Vielhaber
Date:
Subject: Re: v7.2b3 packaged, but not announced beyond here yet