Thread: pgsql-server: Add make_native_path() because Win32 COPY is an internal

pgsql-server: Add make_native_path() because Win32 COPY is an internal

From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql-server/src/backend/access/transam:
        xlog.c (r1.159 -> r1.160)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/access/transam/xlog.c.diff?r1=1.159&r2=1.160)
    pgsql-server/src/backend/utils/misc:
        postgresql.conf.sample (r1.124 -> r1.125)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/misc/postgresql.conf.sample.diff?r1=1.124&r2=1.125)
    pgsql-server/src/include:
        port.h (r1.51 -> r1.52)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/port.h.diff?r1=1.51&r2=1.52)
    pgsql-server/src/port:
        path.c (r1.27 -> r1.28)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/port/path.c.diff?r1=1.27&r2=1.28)