39#if defined(WIN32) && !defined(__CYGWIN__)
53pgwin32_system(
const char *command)
55 size_t cmdlen = strlen(command);
71 memcpy(&
buf[1], command, cmdlen);
72 buf[cmdlen + 1] =
'"';
73 buf[cmdlen + 2] =
'\0';
86pgwin32_popen(
const char *command,
const char *
type)
88 size_t cmdlen = strlen(command);
104 memcpy(&
buf[1], command, cmdlen);
105 buf[cmdlen + 1] =
'"';
106 buf[cmdlen + 2] =
'\0';
static char buf[DEFAULT_XLOG_SEG_SIZE]