BUG #5498: PgAdmin III write to file adds carriage return - Mailing list pgsql-bugs

From Ramesh
Subject BUG #5498: PgAdmin III write to file adds carriage return
Date
Msg-id 201006101727.o5AHRwti062868@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5498: PgAdmin III write to file adds carriage return  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5498
Logged by:          Ramesh
Email address:      ramnuth@rediffmail.com
PostgreSQL version: 8.1.7
Operating system:   Linux
Description:        PgAdmin III write to file adds carriage return
Details:

I have connected PgAdmin III version 1.10.3 to PostgresSQL database version
8.1.7.

I am trying to generate a report with comma (,) seperated values and the
columns are with in double quotes. Once its saved when I check the report
the last column is like below, after the value is printed a carriage return
is added (\n) to the last column and then a quote is added.

"a","b","c","d
"
"e","f","g","h
"

Can some point me a fix for this ?

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Beta 2 build issue
Next
From: David Gardner
Date:
Subject: Re: BUG #5497: plpythonu gives cache lookup error