| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | Simone Tellini <tellini(at)areabusiness(dot)it>, pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: restore whoes |
| Date: | 2002-02-11 19:15:13 |
| Message-ID: | 11287.1013454913@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2002-02-11 19:16:23 | Re: Permissions on FUNCTIONS |
| Previous Message | Simone Tellini | 2002-02-11 19:04:35 | Re: restore whoes |