Re: Data loading from a flat file... - Mailing list pgsql-general

From Bricklen Anderson
Subject Re: Data loading from a flat file...
Date
Msg-id 43BE874E.7080600@presinet.com
Whole thread Raw
In response to Re: Data loading from a flat file...  (Pandurangan R S <pandurangan.r.s@gmail.com>)
List pgsql-general
Pandurangan R S wrote:
> To get rid of ^M characters you could use
>
> cat file | tr -d ^M
>
> you need to type ^V before you type ^M in the preceeding command. But
> ^V will not be displayed on the screen.

Or you can use dos2unix/unix2dos, if installed. I believe they are in
the sysutils package.

pgsql-general by date:

Previous
From: Sebastjan Trepca
Date:
Subject: "Could not open relation with OID x" while deleting a row
Next
From: Jaime Casanova
Date:
Subject: Re: "Could not open relation with OID x" while deleting a row