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

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Add make_native_path() because Win32 COPY is an internal
Date: 2004-08-12 18:32:57
Message-ID: 20040812183257.F1F735E46C4@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-12 18:34:52 pgsql-server: Add mention of "WIN32" COPY.
Previous Message Bruce Momjian 2004-08-12 16:39:51 pgsql-server: Be more aggressive about adding flags to thread compiles.