Re: pg_dump output

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump output
Date: 2001-02-12 18:24:33
Message-ID: Pine.LNX.4.30.0102121918410.1100-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kovacs Zoltan 2001-02-12 19:10:09 Re: pg_dump output
Previous Message Tom Lane 2001-02-12 18:16:01 Re: RE: [ADMIN] SOS !!: Porstgress forgot all ! Help !