| From: | "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net> |
|---|---|
| To: | "Brian C(dot) Doyle" <bcdoyle(at)mindspring(dot)com> |
| Cc: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Carrage Returns \ Line Breaks! |
| Date: | 2000-12-18 16:52:19 |
| Message-ID: | Pine.LNX.4.30.0012181150330.9979-100000@chapelperilous.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Mon, 18 Dec 2000, Brian C. Doyle wrote:
> I have a file that I am trying to import/copy into a table. The problem
> that I am having is that there are carriage returns through out the
> document. These carriage returns should be copied into the column it
> belongs to yet during the
> copy table from '/home/location/file.ext' using delimiters '|';
>
> I get errors when it hits the carriage return. Can i get around this?
You should convert the carriage returns into the literal text '\n'. Are
they ^J or ^M?
-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
A soft answer turneth away wrath; but grievous words stir up anger.
-- Proverbs 15:1
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brian C. Doyle | 2000-12-18 17:01:29 | Re: Carrage Returns \ Line Breaks! |
| Previous Message | Brian C. Doyle | 2000-12-18 16:31:32 | Carrage Returns \ Line Breaks! |