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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to
Date: 2004-08-14 22:09:08
Message-ID: 411E8D84.7010607@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-14 22:14:54 Re: Calling PL functions with named parameters
Previous Message Bruce Momjian 2004-08-14 21:44:35 Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-14 22:25:12 Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to
Previous Message Bruce Momjian 2004-08-14 21:44:35 Re: [Fwd: Re: [pgsql-hackers-win32] Import from Linux to