Skip site navigation (1) Skip section navigation (2)

Re: Extra empty lines PGv8.3.1

From: <Eugen(dot)Konkov(at)aldec(dot)com>
To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Extra empty lines PGv8.3.1
Date: 2008-03-27 16:18:41
Message-ID: 030601c89026$3972a1f0$1200a8c0@kharkov.localhost (view raw or flat)
Thread:
Lists: pgsql-bugs
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(at)commandprompt(dot)com>
To: <Eugen(dot)Konkov(at)aldec(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Sent: Thursday, March 27, 2008 6:07 PM
Subject: Re: [BUGS] Extra empty lines PGv8.3.1


> Eugen(dot)Konkov(at)aldec(dot)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 


In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2008-03-27 17:52:39
Subject: Re: BUG #4056: problem creating function with domain argument
Previous:From: Alvaro HerreraDate: 2008-03-27 16:07:43
Subject: Re: Extra empty lines PGv8.3.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group