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 parent221b775 commit884da1cCopy full SHA for 884da1c
src/backup.c
@@ -809,6 +809,7 @@ check_server_version(PGconn *conn, PGNodeInfo *nodeInfo)
809
"server version is %s, must be %s or higher for backup from replica",
810
nodeInfo->server_version_str,"9.6");
811
812
+/* TODO: search pg_proc for pgpro_edition before calling */
813
res=pgut_execute_extended(conn,"SELECT pgpro_edition()",
814
0,NULL, true, true);
815
@@ -1526,9 +1527,8 @@ pg_stop_backup(pgBackup *backup, PGconn *pg_startbackup_conn,
1526
1527
PQclear(res);
1528
1529
/* Create restore point
- * Only if it is backup from master.
1530
- * If PG 9.5, then create restore point only if
1531
- * pguser is superuser.
+ * Only if backup is from master.
+ * For PG 9.5 create restore point only if pguser is superuser.
1532
*/
1533
if (backup!=NULL&& !current.from_replica&&
1534
!(nodeInfo->server_version<90600&&