pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Oliver Vecernik <vecernik@aon.at>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: CR/LF conversion (was: import error)
Date: Sun, 2 Feb 2003 03:14:41 -0500 (EST)
Message-ID: <200302020814.h128EfB07898@candle.pha.pa.us> (raw)
In-Reply-To: <13297.1043767955@sss.pgh.pa.us>


We are supporting Win32 in 7.4, so it is very likely COPY will support
carriage returns the next release.

---------------------------------------------------------------------------

Tom Lane wrote:
> Oliver Vecernik <vecernik@aon.at> writes:
> > It's always the same problem with CR/LF conversions ...
> 
> Ah, you figured it out.  (Didn't see your followup right away because of
> the changed subject line.)
> 
> > After changing it to just LFs, everthing worked like a charm. Is there 
> > an elegant way to handle this automatically?
> 
> There are plans to make COPY treat all common styles of newline alike.
> We had to wait a release or two after taking the first step, though,
> since it's an incompatible change.
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (4+ messages)

Message-ID: <200302020814.h128EfB07898@candle.pha.pa.us>
Permalink:  ../200302020814.h128EfB07898@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200302020814.h128EfB07898@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, vecernik@aon.at
  Subject: Re: CR/LF conversion (was: import error)
  In-Reply-To: <200302020814.h128EfB07898@candle.pha.pa.us>

* 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