pg.ddx.io  pgsql-admin@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: Simone Tellini <tellini@areabusiness.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: restore whoes
Date: Mon, 11 Feb 2002 16:07:11 -0500 (EST)
Message-ID: <200202112107.g1BL7Bl19886@candle.pha.pa.us> (raw)
In-Reply-To: <15393.1013460149@sss.pgh.pa.us>

Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I just think forcing the escape of \r isn't reasonable.
> 
> It's not ideal, certainly, but I think it's preferable to continuing
> to get burned every time a pg_dump file comes within hailing distance
> of Windoze.  We've seen these complaints over and over, and we'll
> continue to see them again and again until we do something to become
> proof against the problem.  There is no solution that doesn't involve
> some amount of backwards-incompatibility.  So let's bite the bullet and
> do it.  We can offer a GUC switch to provide the old COPY IN behavior
> for people who need it --- but given the shape of the world today, the
> default behavior needs to be Microsoft-proof.

I am afraid we will fix the \r\n problem but cause many more problems
with old dumps and hand-created COPY files.

What if we add GUC param and keep the behavior unchanged?

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (30+ messages)  latest in thread

Message-ID: <200202112107.g1BL7Bl19886@candle.pha.pa.us>
Permalink:  ../200202112107.g1BL7Bl19886@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200202112107.g1BL7Bl19886@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, tellini@areabusiness.it
  Subject: Re: restore whoes
  In-Reply-To: <200202112107.g1BL7Bl19886@candle.pha.pa.us>
  References: <15393.1013460149@sss.pgh.pa.us> <200202112107.g1BL7Bl19886@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