Re: Restore Data Encountered the ERROR: literal carriage return found in data Error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Restore Data Encountered the ERROR: literal carriage return found in data Error
Дата
Msg-id 29629.1267796173@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Restore Data Encountered the ERROR: literal carriage return found in data Error  (Richard Huxton <dev@archonet.com>)
Ответы Re: Restore Data Encountered the ERROR: literal carriage return found in data Error  ("Wang, Mary Y" <mary.y.wang@boeing.com>)
Список pgsql-general
Richard Huxton <dev@archonet.com> writes:
> On 04/03/10 23:52, Wang, Mary Y wrote:
>> I'm getting lots errors like this one: "psql:21.bak:340557: ERROR:
>> literal carriage return found in data HINT:  Use "\r" to represent
>> carriage return."

> I'd only expect this if an old pg_dumpall was being used.

Mary's dealing with a version so old that the behavior of COPY itself
was different.  One possible workaround is to use the --inserts option
of pg_dump.  That will mean slower dump and restore, though.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: need some advanced books on Postgres
Следующее
От: Ogden
Дата:
Сообщение: Re: Optimizations