mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
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
This commit is contained in:
@ -1766,6 +1766,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
|
||||
<entry>Waiting for confirmation from a remote server during synchronous
|
||||
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
|
||||
|
Reference in New Issue
Block a user