aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2023-11-17 11:46:27 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2023-11-17 11:46:27 +0100
commit2db84c25df199db605942bde5c17bc7134e79e2b (patch)
tree3b1e4a98c3f8d66d23f5952e7cf462b03b0d4b0f /src/tutorial/funcs.c
parent5c11104c7d20abbf845a2f03435641f7c6bc67de (diff)
downloadpostgresql-2db84c25df199db605942bde5c17bc7134e79e2b.tar.gz
postgresql-2db84c25df199db605942bde5c17bc7134e79e2b.zip
Register llvm_shutdown using on_proc_exit, not before_shmem_exit.
This seems more correct, because other before_shmem_exit calls may expect the infrastructure that is needed to run queries and access the database to be working, and also because this cleanup has nothing to do with shared memory. This is a back-patch of bab150045bd9. There were no known user-visible consequences to this, though, apart from what was previous fixed by commit 303640199d0 and back-patched as commit bcbc27251d35 and commit f7013683d9bb, so bab150045bd9 was not no back-patched at the time. Bharath Rupireddy Discussion: http://postgr.es/m/CALj2ACWk7j4F2v2fxxYfrroOF=AdFNPr1WsV+AGtHAFQOqm_pw@mail.gmail.com Backpatch-through: 13, 12
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions