|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "backup/basebackup_sink.h"#include "commands/progress.h"#include "pgstat.h"
Go to the source code of this file.
Variables | |
| static const bbsink_ops | bbsink_progress_ops |
Definition at line 212 of file basebackup_progress.c.
References pgstat_progress_update_param(), PROGRESS_BASEBACKUP_PHASE, and PROGRESS_BASEBACKUP_PHASE_ESTIMATE_BACKUP_SIZE.
Referenced by perform_base_backup().
Definition at line 245 of file basebackup_progress.c.
References pgstat_progress_update_param(), PROGRESS_BASEBACKUP_PHASE, and PROGRESS_BASEBACKUP_PHASE_TRANSFER_WAL.
Referenced by perform_base_backup().
Definition at line 202 of file basebackup_progress.c.
References pgstat_progress_update_param(), PROGRESS_BASEBACKUP_PHASE, and PROGRESS_BASEBACKUP_PHASE_WAIT_CHECKPOINT.
Referenced by perform_base_backup().
| void basebackup_progress_wait_wal_archive | ( | bbsink_state * | state | ) |
Definition at line 222 of file basebackup_progress.c.
References list_length(), pgstat_progress_update_multi_param(), PROGRESS_BASEBACKUP_PHASE, PROGRESS_BASEBACKUP_PHASE_WAIT_WAL_ARCHIVE, PROGRESS_BASEBACKUP_TBLSPC_STREAMED, and val.
Referenced by perform_base_backup().
Definition at line 156 of file basebackup_progress.c.
References bbsink_forward_archive_contents(), fb(), len, pgstat_progress_update_multi_param(), PROGRESS_BASEBACKUP_BACKUP_STREAMED, PROGRESS_BASEBACKUP_BACKUP_TOTAL, and val.
Definition at line 90 of file basebackup_progress.c.
References bbsink_forward_begin_backup(), fb(), list_length(), pgstat_progress_update_multi_param(), PROGRESS_BASEBACKUP_BACKUP_TOTAL, PROGRESS_BASEBACKUP_PHASE, PROGRESS_BASEBACKUP_PHASE_STREAM_BACKUP, PROGRESS_BASEBACKUP_TBLSPC_TOTAL, and val.
Definition at line 192 of file basebackup_progress.c.
References bbsink_forward_cleanup(), fb(), and pgstat_progress_end_command().
Definition at line 120 of file basebackup_progress.c.
References bbsink_forward_end_archive(), fb(), list_length(), pgstat_progress_update_param(), and PROGRESS_BASEBACKUP_TBLSPC_STREAMED.
Definition at line 60 of file basebackup_progress.c.
References Assert, bbsink_progress_ops, fb(), InvalidOid, next, palloc0_object, pgstat_progress_start_command(), pgstat_progress_update_param(), PROGRESS_BASEBACKUP_BACKUP_TOTAL, PROGRESS_BASEBACKUP_BACKUP_TYPE, PROGRESS_BASEBACKUP_BACKUP_TYPE_FULL, PROGRESS_BASEBACKUP_BACKUP_TYPE_INCREMENTAL, and PROGRESS_COMMAND_BASEBACKUP.
Referenced by SendBaseBackup().
|
static |
Definition at line 43 of file basebackup_progress.c.
Referenced by bbsink_progress_new().