Re: Re : Win32 binaries test / pg_dump problem

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Re : Win32 binaries test / pg_dump problem
Date: 2004-05-27 21:56:53
Message-ID: 40B66425.1090102@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

Cyril VELTER wrote:

> I reduced the pg_dump problem to a simple example. In fact, it seems to
> be more a stdin / stdout problem
>
> if you psql -f test.sql basetest from the windows shell to a windows or
> linux database, you'll get a missing data error :
>
> psql:test.sql:9: ERROR: missing data for column "b"
> CONTEXT: COPY test, line 1: "a"
>
>
> if you psql -f test.sql basetest from a linux shell to a windows or
> linux database, you won't get an error
>
>
>

Sounds like we should have psql open the file in binary mode on Windows.
Would that cause problems? I doubt it, but I wonder.

cheers

andrew

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Claudio Natoli 2004-05-28 00:06:50 Re: win32 service code
Previous Message Andrew Dunstan 2004-05-27 21:19:21 Re: win32 service code

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-27 22:11:30 Re: [HACKERS] Configuration patch
Previous Message Tom Lane 2004-05-27 19:31:23 Re: win32 locale fixes