Add make_native_path() because Win32 COPY is an internal CMD.EXE command

Bruce Momjian <bruce@momjian.us>

Commit: 6525b42b10c4e05fade5dfd147b59ed14073b0e6
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-08-12T18:32:52Z
Releases: 8.0.0
Add make_native_path() because Win32 COPY is an internal CMD.EXE command
and doesn't process forward slashes in the same way as external
commands.  Quoting the first argument to COPY does not convert forward
to backward slashes, but COPY does properly process quoted forward
slashes in the second argument.

Win32 COPY works with quoted forward slashes in the first argument only if the
current directory is the same as the directory of the first argument.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +14 −11
src/backend/utils/misc/postgresql.conf.sample modified +10 −6
src/include/port.h modified +2 −1
src/port/path.c modified +18 −1