Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group