diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-03-12 19:07:27 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-03-12 19:45:42 +1300 |
commit | de829ddf23f69190efb4e0178704c4c4228e17cd (patch) | |
tree | daf6a6291626971ffa700db0b2b2d1e4b457eaab /doc/src | |
parent | 600f2f50b7a57c8481276450c9019fa7b3656411 (diff) | |
download | postgresql-de829ddf23f69190efb4e0178704c4c4228e17cd.tar.gz postgresql-de829ddf23f69190efb4e0178704c4c4228e17cd.zip |
Add condition variable for walreceiver shutdown.
Use this new CV to wait for walreceiver shutdown without a sleep/poll
loop, while also benefiting from standard postmaster death handling.
Discussion: https://postgr.es/m/CA%2BhUKGK1607VmtrDUHQXrsooU%3Dap4g4R2yaoByWOOA3m8xevUQ%40mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 1ba813bbb9a..c35045faa1a 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1767,6 +1767,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser replication.</entry> </row> <row> + <entry><literal>WalrcvExit</literal></entry> + <entry>Waiting for the walreceiver to exit.</entry> + </row> + <row> <entry><literal>XactGroupUpdate</literal></entry> <entry>Waiting for the group leader to update transaction status at end of a parallel operation.</entry> |