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:
parent
481faf0b5b
commit
a7650c07c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user