Skip to content

Commit 884da1c

Browse files
committed
comments minor changes
1 parent 221b775 commit 884da1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ check_server_version(PGconn *conn, PGNodeInfo *nodeInfo)
809809
"server version is %s, must be %s or higher for backup from replica",
810810
nodeInfo->server_version_str, "9.6");
811811

812+
/* TODO: search pg_proc for pgpro_edition before calling */
812813
res = pgut_execute_extended(conn, "SELECT pgpro_edition()",
813814
0, NULL, true, true);
814815

@@ -1526,9 +1527,8 @@ pg_stop_backup(pgBackup *backup, PGconn *pg_startbackup_conn,
15261527
PQclear(res);
15271528

15281529
/* Create restore point
1529-
* Only if it is backup from master.
1530-
* If PG 9.5, then create restore point only if
1531-
* pguser is superuser.
1530+
* Only if backup is from master.
1531+
* For PG 9.5 create restore point only if pguser is superuser.
15321532
*/
15331533
if (backup != NULL && !current.from_replica &&
15341534
!(nodeInfo->server_version < 90600 &&

0 commit comments

Comments
 (0)