Re: strangeness in pg_dump
От | Mathieu Arnold |
---|---|
Тема | Re: strangeness in pg_dump |
Дата | |
Msg-id | 3449096969.1023119423@andromede.reaumur.absolight.net обсуждение исходный текст |
Ответ на | Re: strangeness in pg_dump (Jan Wieck <janwieck@yahoo.com>) |
Ответы |
Re: strangeness in pg_dump
|
Список | pgsql-general |
--On lundi 3 juin 2002 09:35 -0400 Jan Wieck <janwieck@yahoo.com> wrote: > Mathieu Arnold wrote: >> Hi >> >> I have 2 servers, a linux and a freebsd, and I don't understand why when >> I dump on one, the dumped strings looks like : >> >> "foo\r\nbar" >> >> and on the other one : >> >> "foo^M\ >> bar" >> >> does someone have an idea of what compile time option is responsible for >> that ? > > Looks identical to me. well, they do not I believe. > ^M == \r == 0x0D == Carriage Return > \ (at end of line) == \n == 0x0A == New Line that is right, but, in the first case, it is not '\r' + '\n' but '\\' + 'r' + '\\' + '\n' > Maybe you should use fully compatible commands to examine the > data? --On lundi 3 juin 2002 09:31 -0400 terry@greatgulfhomes.com wrote: > Are you sure the files are different format??? well, I use : pg_dump -c -h pgsqlhost -h file database on the 2 servers, the database being on another server... I don't understand. -- Mathieu Arnold
В списке pgsql-general по дате отправления: