[COMMITTERS] pgsql: On Windows, make pg_dump use binary mode for compressed plain te

2017-06-19 Thread Tom Lane
On Windows, make pg_dump use binary mode for compressed plain text output. The combination of -Z -Fp and output to stdout resulted in corrupted output data, because we left stdout in text mode, resulting in newline conversion being done on the compressed stream. Switch stdout to binary mode for t

[COMMITTERS] pgsql: On Windows, make pg_dump use binary mode for compressed plain te

2017-06-19 Thread Tom Lane
On Windows, make pg_dump use binary mode for compressed plain text output. The combination of -Z -Fp and output to stdout resulted in corrupted output data, because we left stdout in text mode, resulting in newline conversion being done on the compressed stream. Switch stdout to binary mode for t

[COMMITTERS] pgsql: On Windows, make pg_dump use binary mode for compressed plain te

2017-06-19 Thread Tom Lane
On Windows, make pg_dump use binary mode for compressed plain text output. The combination of -Z -Fp and output to stdout resulted in corrupted output data, because we left stdout in text mode, resulting in newline conversion being done on the compressed stream. Switch stdout to binary mode for t

[COMMITTERS] pgsql: On Windows, make pg_dump use binary mode for compressed plain te

2017-06-19 Thread Tom Lane
On Windows, make pg_dump use binary mode for compressed plain text output. The combination of -Z -Fp and output to stdout resulted in corrupted output data, because we left stdout in text mode, resulting in newline conversion being done on the compressed stream. Switch stdout to binary mode for t

[COMMITTERS] pgsql: On Windows, make pg_dump use binary mode for compressed plain te

2017-06-19 Thread Tom Lane
On Windows, make pg_dump use binary mode for compressed plain text output. The combination of -Z -Fp and output to stdout resulted in corrupted output data, because we left stdout in text mode, resulting in newline conversion being done on the compressed stream. Switch stdout to binary mode for t

[COMMITTERS] pgsql: On Windows, make pg_dump use binary mode for compressed plain te

2017-06-19 Thread Tom Lane
On Windows, make pg_dump use binary mode for compressed plain text output. The combination of -Z -Fp and output to stdout resulted in corrupted output data, because we left stdout in text mode, resulting in newline conversion being done on the compressed stream. Switch stdout to binary mode for t