Re: restore whoes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: restore whoes
Дата
Msg-id 11287.1013454913@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: restore whoes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-admin
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Another option is to just print the sed command that would strip off the
> \r from the end of the line.

You keep on assuming that a mechanical fix is possible when a file's
been munged.  It is *NOT*.  There is no reliable way to tell whether a
\r was part of the original data or was added by a newline converter.
We will not do anyone a service by printing a message that falsely
suggests they don't need to think carefully about how to reconstruct
their data.

The only thing worse than no error message is a misleading error
message.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: restore whoes
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Permissions on FUNCTIONS