Re: Questions about pg_dump file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Browne <jkbrowne(at)gmail(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Questions about pg_dump file
Date: 2004-08-28 16:07:12
Message-ID: 19919.1093709232@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

John Browne <jkbrowne(at)gmail(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bruce Momjian 2004-08-28 18:11:42 Re: Questions about pg_dump file
Previous Message John Browne 2004-08-28 05:07:26 Re: Questions about pg_dump file