Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BL7UE37363 for ; Mon, 11 Feb 2002 16:07:30 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g1BL7Bl19886; Mon, 11 Feb 2002 16:07:11 -0500 (EST) From: Bruce Momjian Message-Id: <200202112107.g1BL7Bl19886@candle.pha.pa.us> Subject: Re: restore whoes In-Reply-To: <15393.1013460149@sss.pgh.pa.us> To: Tom Lane Date: Mon, 11 Feb 2002 16:07:11 -0500 (EST) CC: Simone Tellini , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL96 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200202/135 X-Sequence-Number: 3293 Tom Lane wrote: > Bruce Momjian 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