Re: [PATCH] pgindent truncates last line of files missing a trailing newline

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] pgindent truncates last line of files missing a trailing newline
Дата
Msg-id 1133418.1771260634@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] pgindent truncates last line of files missing a trailing newline  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCH] pgindent truncates last line of files missing a trailing newline
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Yeah. I wonder if we shouldn't be just ensuring that there is a line 
> feed at the end of the buffer, i.e. add one if it's not there. We 
> shouldn't be adding files without a trailing LF, and ensuring there is 
> one seems like a reasonable thing to do in pg_bsd_indent.

+1

            regards, tom lane



В списке pgsql-hackers по дате отправления: