forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfb2c502
committed
pgstat: Schedule per-backend pgstat shutdown via 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().The preceding commits were required to permit this change. This commit issplit off the shared memory stats patch to make it easier to isolate problemscaused by the ordering changes rather than the much larger changes in wherestats are stored.Author: Andres Freund <andres@anarazel.de>Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>Discussion:https://postgr.es/m/20210405092914.mmxqe7j56lsjfsej@alap3.anarazel.deDiscussion:https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.deDiscussion:https://postgr.es/m/20210803023612.iziacxk5syn2r4ut@alap3.anarazel.de1 parenta1bb3d5 commitfb2c502
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2992 | 2992 |
| |
2993 | 2993 |
| |
2994 | 2994 |
| |
2995 |
| - | |
| 2995 | + | |
2996 | 2996 |
| |
2997 | 2997 |
| |
2998 | 2998 |
| |
|
0 commit comments
Comments
(0)