Unescaped new lines in postgres - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Unescaped new lines in postgres
Date
Msg-id GNELIHDDFBOCMGBFGEFOMEIJCAAA.chriskl@familyhealth.com.au
Whole thread Raw
Responses Re: Unescaped new lines in postgres
Re: Unescaped new lines in postgres
List pgsql-hackers
>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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_config.h.win32
Next
From: Hiroshi Inoue
Date:
Subject: Re: pg_config.h.win32