forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita1bb3d5
committed
Schedule ShutdownXLOG() in single user mode using before_shmem_exit().
Previously on_shmem_exit() was used. The upcoming shared memory stats patchuses DSM segments to store stats, which can not be used after thedsm_backend_shutdown() call in shmem_exit(). There does not seem to be anyreason to do ShutdownXLOG() via on_shmem_exit(), so change it.Author: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/20210405092914.mmxqe7j56lsjfsej@alap3.anarazel.deDiscussion:https://postgr.es/m/20210803023612.iziacxk5syn2r4ut@alap3.anarazel.de1 parentfa91d4c commita1bb3d5
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
641 |
| - | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
642 | 646 |
| |
643 | 647 |
| |
644 | 648 |
| |
|
0 commit comments
Comments
(0)