diff options
author | Andres Freund <andres@anarazel.de> | 2021-03-26 10:52:14 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2021-08-06 19:10:32 -0700 |
commit | a1bb3d5dbe6a66ae73d7805a63b951793b5d55df (patch) | |
tree | 81fc1536fc53dab68721c0ff6acafd0c7f07db60 /src/backend/access/spgist/spgxlog.c | |
parent | fa91d4c91f28f4819dc54f93adbd413a685e366a (diff) | |
download | postgresql-a1bb3d5dbe6a66ae73d7805a63b951793b5d55df.tar.gz postgresql-a1bb3d5dbe6a66ae73d7805a63b951793b5d55df.zip |
Schedule ShutdownXLOG() in single user mode using before_shmem_exit().
Previously on_shmem_exit() was used. The upcoming shared memory stats patch
uses DSM segments to store stats, which can not be used after the
dsm_backend_shutdown() call in shmem_exit(). There does not seem to be any
reason 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.de
Discussion: https://postgr.es/m/20210803023612.iziacxk5syn2r4ut@alap3.anarazel.de
Diffstat (limited to 'src/backend/access/spgist/spgxlog.c')
0 files changed, 0 insertions, 0 deletions