pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chuck D. <pgsql-list@nullmx.com>
To: pgsql-sql@postgresql.org
Subject: Re: request for help with COPY syntax
Date: Thu, 25 Oct 2007 13:13:46 -0600
Message-ID: <200710251313.47075.pgsql-list@nullmx.com> (raw)
In-Reply-To: <4720CB0D.4050403@presinet.com>
References: <200710251016.01844.pgsql-list@nullmx.com>
	<4720CB0D.4050403@presinet.com>

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.



view thread (18+ messages)  latest in thread

Message-ID: <200710251313.47075.pgsql-list@nullmx.com>
Permalink:  ../200710251313.47075.pgsql-list@nullmx.com/
Also on:    postgresql.org/message-id/200710251313.47075.pgsql-list@nullmx.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pgsql-list@nullmx.com
  Subject: Re: request for help with COPY syntax
  In-Reply-To: <200710251313.47075.pgsql-list@nullmx.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox