Re: pg_dump output - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_dump output
Date
Msg-id Pine.LNX.4.30.0102121918410.1100-100000@peter.localdomain
Whole thread Raw
In response to pg_dump output  (Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>)
Responses Re: pg_dump output  (Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>)
Re: pg_dump output  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Kovacs Zoltan writes:

> In 7.0.2 I got
> INSERT INTO foo (field) VALUES ('Hello,\012world!');

> In 7.1beta4 I get
> INSERT INTO foo (field) VALUES ('Hello,
> world!');

> Is it possible to add a switch to pg_dump to make it possible getting the
> old output. Where can I balance it in the source if I'd like to change the
> behaviour?

I kind of agree that the old output should be preferred.  Otherwise we
might be entering a whole new world of CR/LF sort of problems.

Btw., if I select the default COPY output, pg_dump seems to drop
non-printable characters like '\001'.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: RE: [ADMIN] SOS !!: Porstgress forgot all ! Help !
Next
From: Kovacs Zoltan
Date:
Subject: Re: pg_dump output