1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00

stub for remote operations on Windows

This commit is contained in:
Grigory Smolkin 2019-05-01 02:43:52 +03:00
parent 481faf0b5b
commit a7650c07c2

View File

@ -207,6 +207,12 @@ static ConfigOption cmd_options[] =
static void
setMyLocation(void)
{
#ifdef WIN32
if (IsSshProtocol())
elog(ERROR, "Remote operations on Windows are not possible at this moment");
#endif
MyLocation = IsSshProtocol()
? (backup_subcmd == ARCHIVE_PUSH_CMD || backup_subcmd == ARCHIVE_GET_CMD)
? FIO_DB_HOST