postgresql/contrib/pg_upgrade
Andrew Dunstan f7b13e4837 Fix line end mishandling in pg_upgrade on Windows.
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.
2012-09-05 17:49:30 -04:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
check.c Unbreak Windows builds on 9.0 broken by 4397c51816. 2012-09-03 22:51:13 -04:00
controldata.c Fix buffer overrun in pg_upgrade. 2010-11-02 17:31:54 -04:00
dump.c Fix line end mishandling in pg_upgrade on Windows. 2012-09-05 17:49:30 -04:00
exec.c Improve pg_upgrade's checks for required executables. 2010-12-29 13:43:58 -05:00
file.c Fix use of unportable %m format 2011-07-07 21:48:15 +03:00
function.c Prevent pg_upgrade from migrating databases that use reg* data types 2010-07-25 03:28:39 +00:00
IMPLEMENTATION Add CVS tags to pg_upgrade and pg_upgrade_support files, per request 2010-07-03 14:23:14 +00:00
info.c Fix pg_upgrade to properly upgrade a table that is stored in the cluster 2012-04-10 19:57:13 -04:00
Makefile Add CVS tags to pg_upgrade and pg_upgrade_support files, per request 2010-07-03 14:23:14 +00:00
option.c Improve pg_upgrade's checks for required executables. 2010-12-29 13:43:58 -05:00
page.c Properly close files after read file failure to prevent potential 2010-09-28 19:25:13 +00:00
pg_upgrade.c In pg_upgrade, fix the -l/log option to work on Windows. 2011-07-20 18:31:08 -04:00
pg_upgrade.h Use correct path separator for Windows builtin commands. 2012-09-03 18:14:06 -04:00
relfilenode.c Fix pg_upgrade crash 2011-04-13 11:33:55 -04:00
server.c Backpatch pg_upgrade fixes to 9.0: 2010-07-13 20:15:51 +00:00
tablespace.c pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
TESTING Backpatch pg_upgrade fixes to 9.0: 2010-07-13 20:15:51 +00:00
util.c Have pg_upgrade use strtoul(), not strtol(). 2010-09-29 02:40:26 +00:00
version_old_8_3.c In pg_upgrade, disallow migration of 8.3 clusters using contrib/ltree 2011-09-07 14:42:36 -04:00
version.c Make pg_upgrade copyrights just 2010, not 2010-2010. 2010-07-03 16:33:15 +00:00