Update corner-case error message

Not possible to build repmgr compatible with Pg12+ against Pg11
and earlier due to the addition of FullTransactionId.
This commit is contained in:
Ian Barwick
2020-11-17 09:39:41 +09:00
parent 703aed3fa3
commit 040b1ae4e3

View File

@@ -333,7 +333,7 @@ get_controlfile(const char *DataDir)
control_file_info->minRecoveryPointTLI = ptr->minRecoveryPointTLI; control_file_info->minRecoveryPointTLI = ptr->minRecoveryPointTLI;
control_file_info->minRecoveryPoint = ptr->minRecoveryPoint; control_file_info->minRecoveryPoint = ptr->minRecoveryPoint;
#else #else
fprintf(stderr, "ERROR: please use a repmgr version built for PostgreSQL 12\n"); fprintf(stderr, "ERROR: please use a repmgr version built for PostgreSQL 12 or later\n");
exit(ERR_BAD_CONFIG); exit(ERR_BAD_CONFIG);
#endif #endif
} }