Re: strangeness in pg_dump

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: strangeness in pg_dump
Дата
Msg-id 200206031335.g53DZqG02363@saturn.janwieck.net
обсуждение исходный текст
Ответ на strangeness in pg_dump  (Mathieu Arnold <mat@mat.cc>)
Ответы Re: strangeness in pg_dump
Список pgsql-general
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.

        ^M == \r == 0x0D == Carriage Return
        \ (at end of line) == \n == 0x0A == New Line

    Maybe you should use fully compatible commands to examine the
    data?


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



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

Предыдущее
От: "frank_lupo@email.it"
Дата:
Сообщение: EXCEPTION idea
Следующее
От: Neil Conway
Дата:
Сообщение: Re: reverse of extract epoch?