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

From Michelle Konzack
Subject Re: Data loading from a flat file...
Date
Msg-id 20060117131201.GY1461@freenet.de
Whole thread Raw
In response to Re: Data loading from a flat file...  (Angshu Kar <angshu96@gmail.com>)
List pgsql-general
Am 2006-01-05 23:04:16, schrieb Angshu Kar:

> Also, my data file is showing some ^M chars like
>
> B1^M   C1^M   E1
> B2^M   C2^M   E2

If those ^M are coming from your data file, then you should use

        dos2unix <filename>

and the problem is gone

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

pgsql-general by date:

Previous
From: Michelle Konzack
Date:
Subject: Re: "REFERENCES" and UNIQUE
Next
From: Michelle Konzack
Date:
Subject: tablespace and pg_dump