Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to
Date
Msg-id 200408142225.i7EMPCq13413@candle.pha.pa.us
Whole thread Raw
In response to Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
>
>
> Bruce Momjian wrote:
>
> >One issue is that pre-8.0, psql files were opened in Win32 text mode, so
> >we wouldn't have seen this bug on Win32, but we would on Linux.
> >Because we open them on Win32 now in binary mode so we see control-Z it
> >will show up on Win32 too.
> >
> >
> >
>
> true, *BUT*
>
> The patch is not platform-specific. It simply makes psql accept the same
> line endings on COPY FROM that the backend will accept - in effect it
> makes it line-end agnostic - this is a Good Thing (tm).
>
> We are still months away from releasing 8.0, so I think doing this for
> tomorrow's 7.4 bundle makes sense.

Yes, totally agree.

--
  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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Calling PL functions with named parameters
Next
From: Eric Kerin
Date:
Subject: Re: will PITR in 8.0 be usable for "hot spare"/"log