]> granicus.if.org Git - postgresql/commit
Add make_native_path() because Win32 COPY is an internal CMD.EXE command
authorBruce Momjian <bruce@momjian.us>
Thu, 12 Aug 2004 18:32:52 +0000 (18:32 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 12 Aug 2004 18:32:52 +0000 (18:32 +0000)
commit6525b42b10c4e05fade5dfd147b59ed14073b0e6
tree98b1371bd51f87f4fb33b88f2194c556335965f1
parente48322a6d6cfce1ec52ab303441df329ddbc04d1
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.
src/backend/access/transam/xlog.c
src/backend/utils/misc/postgresql.conf.sample
src/include/port.h
src/port/path.c