psql record separator - Mailing list pgsql-novice

From Charley Tiggs
Subject psql record separator
Date
Msg-id 47854570.6030306@tiggs.net
Whole thread Raw
Responses Re: psql record separator  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
I'm trying to create a CRLF record separator using the following syntax:

psql -R "\r\n" dbname username -c "select * from foo" > data_file.txt

But, no matter what I do, it only outputs a newline (\n).  How can I
force the separator to be a windows line break (CRLF)?

Charley

pgsql-novice by date:

Previous
From: Charley Tiggs
Date:
Subject: Re: Command line output - How to output values only?
Next
From: Tom Lane
Date:
Subject: Re: psql record separator