Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BLRIE44038 for ; Mon, 11 Feb 2002 16:27:18 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g1BLRCf15584; Mon, 11 Feb 2002 16:27:12 -0500 (EST) To: Bruce Momjian cc: Simone Tellini , pgsql-admin@postgresql.org Subject: Re: restore whoes In-reply-to: <200202112107.g1BL7Bl19886@candle.pha.pa.us> References: <200202112107.g1BL7Bl19886@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Mon, 11 Feb 2002 16:07:11 -0500" Date: Mon, 11 Feb 2002 16:27:12 -0500 Message-ID: <15581.1013462832@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200202/138 X-Sequence-Number: 3295 Bruce Momjian writes: > Tom Lane wrote: >> 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? Well, at that point it comes down to opinions. I stand by my opinion above, but I have no more numbers to prove it than you do. However, if we make the appropriate code and documentation changes in 7.2.1, then (a) dumps from 7.2.1 or later will be no problem, and (b) people will have nearly a full release cycle to update any existing applications that generate the deprecated \r representation. So I don't think that it'll be a big problem for 7.3 to have a non-backwards-compatible default behavior. regards, tom lane