Re: strangeness in pg_dump

From: Jan Wieck <janwieck(at)yahoo(dot)com>
To: Mathieu Arnold <mat(at)mat(dot)cc>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: strangeness in pg_dump
Date: 2002-06-03 13:35:52
Message-ID: 200206031335.g53DZqG02363@saturn.janwieck.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-06-03 13:39:57 Re: reverse of extract epoch?
Previous Message Bjoern Metzdorf 2002-06-03 13:35:39 Re: strangeness in pg_dump