Unescaped new lines in postgres

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Unescaped new lines in postgres
Date: 2001-11-23 03:50:49
Message-ID: GNELIHDDFBOCMGBFGEFOMEIJCAAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2001-11-23 04:08:36 Re: v7.2b3 packaged, but not announced beyond here yet ...
Previous Message Tom Lane 2001-11-23 02:53:04 Re: pg_config.h.win32