Re: EOL on OS X

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Henry B(dot) Hotz" <hotz(at)jpl(dot)nasa(dot)gov>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-ports <pgsql-ports(at)postgresql(dot)org>
Subject: Re: EOL on OS X
Date: 2003-04-19 00:43:17
Message-ID: 18291.1050712997@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

"Henry B. Hotz" <hotz(at)jpl(dot)nasa(dot)gov> writes:
> At 7:38 PM -0400 4/18/03, Bruce Momjian wrote:
>> What is the default end-of-line character on OS X? 7.4 COPY will
>> support \n, \r, and \r\n, and I need to know that to use as a default on
>> OS X.

> Traditional Mac is to use \r. However OSX is really Unix underneath
> where Postgres works so I think it would be better to stick with \n.

Yeah. I'd concur with accepting bare \r as newline, but not ever using
it as default.

regards, tom lane

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Fenny Wang 2003-04-22 13:26:28 installing on Irix
Previous Message Henry B. Hotz 2003-04-19 00:36:43 Re: EOL on OS X