Re: Questions about pg_dump file - Mailing list pgsql-novice

From Tom Lane
Subject Re: Questions about pg_dump file
Date
Msg-id 19919.1093709232@sss.pgh.pa.us
Whole thread Raw
In response to Re: Questions about pg_dump file  (John Browne <jkbrowne@gmail.com>)
List pgsql-novice
John Browne <jkbrowne@gmail.com> writes:
> Oh, pg_dump handles it just fine, but the problem is you end up with a
> mixture of different EOL characters in the dump file.  Shouldn't
> pg_dump create the dump file with consistent \n *NIX style EOL
> characters throughout the entire file, instead of carrying over the
> \r\n EOL characters from user-defined function definitions, views,
> etc.?

No, I don't think so.  The job of pg_dump is to reproduce what you have,
not to do cleanup for you.

            regards, tom lane

pgsql-novice by date:

Previous
From: John Browne
Date:
Subject: Re: Questions about pg_dump file
Next
From: Bruce Momjian
Date:
Subject: Re: Questions about pg_dump file