Yes, I am running Windows
but why you replace CRLF with \n\n
instead of replace CRLF with only one \n ?
----- Original Message -----
From: "Alvaro Herrera" <alvherre@commandprompt.com>
To: <Eugen.Konkov@aldec.com>
Cc: <pgsql-bugs@postgresql.org>
Sent: Thursday, March 27, 2008 6:07 PM
Subject: Re: [BUGS] Extra empty lines PGv8.3.1
> Eugen.Konkov@aldec.com wrote:
>
>> Also it seem that
>> #pg_dumpall > dumpfile
>> #psql < dumpfile
>> have such problems.
>> all functions get extra empty lines in their bodies.
>
> My guess is that you're running Windows, and there's a CRLF translation
> going on somewhere, that duplicates the \n.
>
> --
> Alvaro Herrera
> http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support