[BUGS] BUG #14634: On Windows pg_basebackup should write tar to stdout inbinary mode

Поиск
Список
Период
Сортировка
От henry_boehlert@agilent.com
Тема [BUGS] BUG #14634: On Windows pg_basebackup should write tar to stdout inbinary mode
Дата
Msg-id 20170428082818.24366.13134@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [BUGS] BUG #14634: On Windows pg_basebackup should write tar tostdout in binary mode  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14634
Logged by:          Henry Boehlert
Email address:      henry_boehlert@agilent.com
PostgreSQL version: 9.6.2
Operating system:   Windows Server 2012 R2 6.3.9600
Description:

Executing command pg_basebackup -D -F t writes its output to stdout, which
is open in text mode, causing LF to be converted to CR LF thus corrupting
the resulting archive.

To write the tar to stdout, on Windows stdout's mode should be temporarily
switched to binary.

https://msdn.microsoft.com/en-us/library/tw4k6df8.aspx



--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Pietro Pugni
Дата:
Сообщение: Re: [BUGS] BUG #14632: Plus and minus operators inconsistency with leap years and year intervals.
Следующее
От: Pietro Pugni
Дата:
Сообщение: Re: [BUGS] BUG #14632: Plus and minus operators inconsistency with leap years and year intervals.