Re: Unescaped new lines in postgres

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unescaped new lines in postgres
Date: 2001-11-23 04:26:16
Message-ID: 200111230426.fAN4QGA26908@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-11-23 04:35:56 Re: v7.2b3 packaged, but not announced beyond here yet ...
Previous Message Hiroshi Inoue 2001-11-23 04:15:04 Re: pg_config.h.win32