mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 23:12:54 +00:00
avoid hitting assertion failure in MarkPostmasterChildWalSender()
This commit is contained in:
@@ -232,6 +232,7 @@ communicator_new_bgworker_main(Datum main_arg)
|
||||
* sequence: WAL senders are shut down last, after the final checkpoint
|
||||
* has been written. That's what we want for the communicator process too
|
||||
*/
|
||||
am_walsender = true;
|
||||
MarkPostmasterChildWalSender();
|
||||
|
||||
/* lfc_size_limit is in MBs */
|
||||
|
||||
Reference in New Issue
Block a user