When expanding %p in archive_command or restore_command, translate

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 35f539b481b5524bd331cb7b75df848da51b43e5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-09T16:26:06Z
Releases: 8.0.0
When expanding %p in archive_command or restore_command, translate
slashes to backslashes #ifdef WIN32.  This is to cope with the fact
that Windows seems exceedingly unfriendly to slashes in shell commands,
as per recent discussion.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +11 −1
src/backend/postmaster/pgarch.c modified +11 −1