Commit df9274a
committed
Add some checkpoint/restartpoint status to ps display
This is done for end-of-recovery and shutdown checkpoints/restartpoints
(end-of-recovery restartpoints don't exist) rather than all types of
checkpoints, in cases where it may not be possible to rely on
pg_stat_activity to get a status from the startup or checkpointer
processes.
For example, at the end of a crash recovery, this is useful to know if a
checkpoint is running in the startup process, while previously the ps
display may only show some information about "recovering" something,
that can be confusing while a checkpoint runs.
Author: Justin Pryzby
Reviewed-by: Nathan Bossart, Kirk Jamison, Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/20200818225238.GP17022@telsasoft.com1 parent a1b8aa1 commit df9274a
1 file changed
+45
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8687 | 8687 | | |
8688 | 8688 | | |
8689 | 8689 | | |
| 8690 | + | |
| 8691 | + | |
| 8692 | + | |
| 8693 | + | |
| 8694 | + | |
| 8695 | + | |
| 8696 | + | |
| 8697 | + | |
| 8698 | + | |
| 8699 | + | |
| 8700 | + | |
| 8701 | + | |
| 8702 | + | |
| 8703 | + | |
| 8704 | + | |
| 8705 | + | |
| 8706 | + | |
| 8707 | + | |
| 8708 | + | |
| 8709 | + | |
| 8710 | + | |
| 8711 | + | |
| 8712 | + | |
| 8713 | + | |
| 8714 | + | |
| 8715 | + | |
| 8716 | + | |
| 8717 | + | |
| 8718 | + | |
| 8719 | + | |
| 8720 | + | |
| 8721 | + | |
| 8722 | + | |
8690 | 8723 | | |
8691 | 8724 | | |
8692 | 8725 | | |
| |||
8905 | 8938 | | |
8906 | 8939 | | |
8907 | 8940 | | |
| 8941 | + | |
| 8942 | + | |
| 8943 | + | |
8908 | 8944 | | |
8909 | 8945 | | |
8910 | 8946 | | |
| |||
9120 | 9156 | | |
9121 | 9157 | | |
9122 | 9158 | | |
| 9159 | + | |
| 9160 | + | |
| 9161 | + | |
9123 | 9162 | | |
9124 | 9163 | | |
9125 | 9164 | | |
| |||
9374 | 9413 | | |
9375 | 9414 | | |
9376 | 9415 | | |
| 9416 | + | |
| 9417 | + | |
| 9418 | + | |
9377 | 9419 | | |
9378 | 9420 | | |
9379 | 9421 | | |
| |||
9492 | 9534 | | |
9493 | 9535 | | |
9494 | 9536 | | |
| 9537 | + | |
| 9538 | + | |
| 9539 | + | |
9495 | 9540 | | |
9496 | 9541 | | |
9497 | 9542 | | |
| |||
0 commit comments