Unescaped new lines in postgres

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Unescaped new lines in postgres
Дата
Msg-id GNELIHDDFBOCMGBFGEFOMEIJCAAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответы Re: Unescaped new lines in postgres  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Unescaped new lines in postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_config.h.win32
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: pg_config.h.win32