Re: Re : Win32 binaries test / pg_dump problem

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Re : Win32 binaries test / pg_dump problem
Дата
Msg-id 40B66425.1090102@dunslane.net
обсуждение исходный текст
Ответ на Re : Win32 binaries test / pg_dump problem  ("Cyril VELTER" <cyril.velter@metadys.com>)
Список pgsql-hackers-win32
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

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: win32 service code
Следующее
От: Claudio Natoli
Дата:
Сообщение: Re: win32 service code