Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc980eed

Browse files
Register llvm_shutdown using on_proc_exit, not before_shmem_exit.
This seems more correct, because other before_shmem_exit calls mayexpect the infrastructure that is needed to run queries and access thedatabase to be working, and also because this cleanup has nothing todo with shared memory.This is a back-patch ofbab1500.There were no known user-visible consequences to this, though, apartfrom what was previous fixed by commit3036401 and back-patchedas commitbcbc272 and commitf701368, sobab1500 wasnot no back-patched at the time.Bharath RupireddyDiscussion:http://postgr.es/m/CALj2ACWk7j4F2v2fxxYfrroOF=AdFNPr1WsV+AGtHAFQOqm_pw@mail.gmail.comBackpatch-through: 13, 12
1 parentabd1b13 commitc980eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/jit/llvm/llvmjit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ llvm_session_initialize(void)
925925
}
926926
#endif/* LLVM_VERSION_MAJOR > 11 */
927927

928-
before_shmem_exit(llvm_shutdown,0);
928+
on_proc_exit(llvm_shutdown,0);
929929

930930
llvm_session_initialized= true;
931931

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp