| От | Tom Lane |
|---|---|
| Тема | Re: BUG #1050: cannot restore db at postgresql 7.4.1 |
| Дата | |
| Msg-id | 19567.1074142194@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #1050: cannot restore db at postgresql 7.4.1 ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>) |
| Список | pgsql-bugs |
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> The release notes of 7.4 saids:
> COPY now can process files that use carriage-return or
> carriage-return/line-feed end-of-line sequences. Literal carriage-returns
> and line-feeds are no longer accepted in data values; use \r and \n instead.
> I think this is bug and pg_dump/pg_restore should
> be fixed to keep with this modification.
This was a deliberate change and will not be undone, even though it does
create compatibility issues with dumps from very old PG versions.
The best workaround I know of for dumping from such an old server is to
use the "dump as INSERT commands" option.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера