We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentf39ef5f commit497f5b2Copy full SHA for 497f5b2
src/pg_probackup.c
@@ -349,7 +349,7 @@ main(int argc, char *argv[])
349
if (strcmp(remote_agent,PROGRAM_VERSION)!=0)
350
{
351
uint32agent_version=parse_program_version(remote_agent);
352
-elog(agent_version<AGENT_PROTOCOL_VERSION ?ERROR :WARNING,
+elog(agent_version!=AGENT_PROTOCOL_VERSION ?ERROR :WARNING,
353
"Agent version %s doesn't match master pg_probackup version %s",
354
PROGRAM_VERSION,remote_agent);
355
}
@@ -528,7 +528,8 @@ main(int argc, char *argv[])
528
529
/* Ensure that backup_path is a path to a directory */
530
if (!S_ISDIR(st.st_mode))
531
-elog(ERROR,"-B, --backup-path must be a path to directory");
+elog(ERROR,"-B, --backup-path must be a path to directory. Inode: %lu. ST_MODE: %u",
532
+st.st_ino,st.st_mode);
533
534
535