|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Macros | |
| #define | PGSTAT_NUM_PROGRESS_PARAM 20 |
Typedefs | |
| typedef enum ProgressCommandType | ProgressCommandType |
| #define PGSTAT_NUM_PROGRESS_PARAM 20 |
Definition at line 33 of file backend_progress.h.
| Enumerator | |
|---|---|
| PROGRESS_COMMAND_INVALID | |
| PROGRESS_COMMAND_VACUUM | |
| PROGRESS_COMMAND_ANALYZE | |
| PROGRESS_COMMAND_CLUSTER | |
| PROGRESS_COMMAND_CREATE_INDEX | |
| PROGRESS_COMMAND_BASEBACKUP | |
| PROGRESS_COMMAND_COPY | |
Definition at line 22 of file backend_progress.h.
Definition at line 150 of file backend_progress.c.
References fb(), InvalidOid, MyBEEntry, PGSTAT_BEGIN_WRITE_ACTIVITY, PGSTAT_END_WRITE_ACTIVITY, pgstat_track_activities, and PROGRESS_COMMAND_INVALID.
Referenced by AbortSubTransaction(), AbortTransaction(), analyze_rel(), basebackup_progress_done(), cluster_rel(), DefineIndex(), EndCopy(), EndCopyFrom(), heap_vacuum_rel(), reindex_index(), and ReindexRelationConcurrently().
Definition at line 69 of file backend_progress.c.
References Assert, fb(), MyBEEntry, PGSTAT_BEGIN_WRITE_ACTIVITY, PGSTAT_END_WRITE_ACTIVITY, PGSTAT_NUM_PROGRESS_PARAM, and pgstat_track_activities.
Referenced by DefineIndex(), pgstat_progress_parallel_incr_param(), ProcessParallelMessage(), and vacuum_delay_point().
Definition at line 91 of file backend_progress.c.
References fb(), initStringInfo(), IsParallelWorker, pgstat_progress_incr_param(), pq_beginmessage(), pq_endmessage(), pq_sendint32(), pq_sendint64(), and PqMsg_Progress.
Referenced by parallel_vacuum_main(), parallel_vacuum_process_one_index(), and vacuum_delay_point().
|
extern |
Definition at line 27 of file backend_progress.c.
References fb(), MemSet, MyBEEntry, PGSTAT_BEGIN_WRITE_ACTIVITY, PGSTAT_END_WRITE_ACTIVITY, and pgstat_track_activities.
Referenced by analyze_rel(), bbsink_progress_new(), BeginCopyFrom(), BeginCopyTo(), cluster_rel(), DefineIndex(), heap_vacuum_rel(), reindex_index(), and ReindexRelationConcurrently().
Definition at line 121 of file backend_progress.c.
References Assert, fb(), i, MyBEEntry, PGSTAT_BEGIN_WRITE_ACTIVITY, PGSTAT_END_WRITE_ACTIVITY, PGSTAT_NUM_PROGRESS_PARAM, pgstat_track_activities, and val.
Referenced by _bt_spools_heapscan(), _gin_parallel_merge(), acquire_inherited_sample_rows(), basebackup_progress_wait_wal_archive(), bbsink_progress_archive_contents(), bbsink_progress_begin_backup(), BeginCopyFrom(), BeginCopyTo(), BuildRelationExtStatistics(), dead_items_add(), DefineIndex(), heapam_relation_copy_for_cluster(), index_build(), lazy_check_wraparound_failsafe(), lazy_cleanup_all_indexes(), lazy_scan_heap(), lazy_vacuum_all_indexes(), reindex_index(), ReindexRelationConcurrently(), validate_index(), and WaitForLockersMultiple().
Definition at line 48 of file backend_progress.c.
References Assert, fb(), MyBEEntry, PGSTAT_BEGIN_WRITE_ACTIVITY, PGSTAT_END_WRITE_ACTIVITY, PGSTAT_NUM_PROGRESS_PARAM, pgstat_track_activities, and val.
Referenced by _bt_leafbuild(), _bt_load(), _bt_parallel_scan_and_sort(), _bt_spools_heapscan(), _gin_parallel_merge(), _gin_process_worker_data(), _h_indexbuild(), acquire_inherited_sample_rows(), acquire_sample_rows(), analyze_rel(), basebackup_progress_estimate_backup_size(), basebackup_progress_transfer_wal(), basebackup_progress_wait_checkpoint(), bbsink_progress_end_archive(), bbsink_progress_new(), btvacuumscan(), BuildRelationExtStatistics(), cluster_rel(), copy_dest_receive(), CopyFrom(), CopyLoadRawBuf(), CopyMultiInsertBufferFlush(), CopyRelationTo(), CopySendEndOfRow(), DefineIndex(), do_analyze_rel(), finish_heap_swap(), ginbuild(), hashbuild(), heap_vacuum_rel(), heapam_index_build_range_scan(), heapam_index_validate_scan(), heapam_relation_copy_for_cluster(), lazy_cleanup_all_indexes(), lazy_scan_heap(), lazy_truncate_heap(), lazy_vacuum_all_indexes(), lazy_vacuum_heap_page(), lazy_vacuum_heap_rel(), reindex_index(), reindex_relation(), ReindexRelationConcurrently(), validate_index(), WaitForLockersMultiple(), and WaitForOlderSnapshots().