Content-Length: 272485 | pFad | http://github.com/postgrespro/postgres_cluster/commit/37ffa35f42f4245ce263a48f13d579aaa25210cb

98 cfs xlog.c: release cfs_control_gc earlier in do_pg_stop_backup · postgrespro/postgres_cluster@37ffa35 · GitHub
Skip to content

Commit 37ffa35

Browse files
author
Sokolov Yura
committed
cfs xlog.c: release cfs_control_gc earlier in do_pg_stop_backup
1 parent c6fbf99 commit 37ffa35

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10473,6 +10473,8 @@ do_pg_stop_backup(char *labelfile, bool waitforarchive, TimeLineID *stoptli_p)
1047310473
/* Clean up session-level lock */
1047410474
sessionBackupState = SESSION_BACKUP_NONE;
1047510475

10476+
cfs_control_gc(SavedGCState); /* Restore CFS GC activity */
10477+
1047610478
/*
1047710479
* Read and parse the START WAL LOCATION line (this code is pretty crude,
1047810480
* but we are not expecting any variability in the file format).
@@ -10682,8 +10684,6 @@ do_pg_stop_backup(char *labelfile, bool waitforarchive, TimeLineID *stoptli_p)
1068210684
ereport(NOTICE,
1068310685
(errmsg("WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup")));
1068410686

10685-
cfs_control_gc(SavedGCState); /* Restore CFS GC activity */
10686-
1068710687
/*
1068810688
* We're done. As a convenience, return the ending WAL location.
1068910689
*/

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/37ffa35f42f4245ce263a48f13d579aaa25210cb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy