mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Implement NOWAIT option for BASE_BACKUP command
Specifying this option makes the server not wait for the xlog to be archived, or emit a warning that it can't, instead leaving the responsibility with the client. This is useful when the log is being streamed using the streaming protocol in parallel with the backup, without having log archiving enabled.
This commit is contained in:
@ -318,7 +318,7 @@ extern void WakeupRecovery(void);
|
||||
* Starting/stopping a base backup
|
||||
*/
|
||||
extern XLogRecPtr do_pg_start_backup(const char *backupidstr, bool fast, char **labelfile);
|
||||
extern XLogRecPtr do_pg_stop_backup(char *labelfile);
|
||||
extern XLogRecPtr do_pg_stop_backup(char *labelfile, bool waitforarchive);
|
||||
extern void do_pg_abort_backup(void);
|
||||
|
||||
/* File path names (all relative to $PGDATA) */
|
||||
|
Reference in New Issue
Block a user