mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
ea0b414a0d
pg_upgrade opened the output from pg_dumpall in text mode and wrote the split files in text mode. This caused unwanted eating of intended carriage returns on input and production of spurious carriage returns on output. To avoid this, open all these files in binary mode. On non-Windows platforms, this change has no effect. Backpatch to 9.0. On 9.0 and 9.1, we also switch from redirecting pg_dumpall's output to using pg_dumpall's -f switch, for the same reason. |
||
---|---|---|
.. | ||
.gitignore | ||
check.c | ||
controldata.c | ||
dump.c | ||
exec.c | ||
file.c | ||
function.c | ||
IMPLEMENTATION | ||
info.c | ||
Makefile | ||
option.c | ||
page.c | ||
pg_upgrade.c | ||
pg_upgrade.h | ||
relfilenode.c | ||
server.c | ||
tablespace.c | ||
test.sh | ||
TESTING | ||
util.c | ||
version_old_8_3.c | ||
version.c |