Re: request for help with COPY syntax

From: "Chuck D(dot)" <pgsql-list(at)nullmx(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: request for help with COPY syntax
Date: 2007-10-25 19:13:46
Message-ID: 200710251313.47075.pgsql-list@nullmx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On October 25, 2007 10:57:49 am you wrote:
>
> If all you just want to do is strip out the ^M, you can run dos2unix on
> it, assuming that you are running a *nix distro.

Well, I guess I could strip the ^M but I'm still left with a $ in the middle
of a field which in the same as the line terminator, so COPY thinks it is at
the end of a line when it is really in the middle of the field. I really
wish they would have quoted these fields, but I'm at a loss how to import
these.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Jones 2007-10-25 19:21:49 Re: JOINing based on whether an IP address is contained within a CIDR range?
Previous Message Jamie Tufnell 2007-10-25 18:22:41 JOINing based on whether an IP address is contained within a CIDR range?