Skip to content

Commit ee2b1a9

Browse files
committed
Add comment for check_system_identifiers
On the empty if case for skipping check before PG 9.6
1 parent 67d17b5 commit ee2b1a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backup.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,8 @@ check_system_identifiers(void)
918918
system_id_pgdata = get_system_identifier(pgdata);
919919

920920
if (server_version < 90600) {
921+
// Skip match system_identifier between backup data directory and DB connection as
922+
// pg_control_system() exists only in 9.6 onwards
921923
} else {
922924
res = pgut_execute(backup_conn,
923925
"SELECT system_identifier FROM pg_control_system()",

0 commit comments

Comments
 (0)