diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-07-15 10:21:16 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-07-15 10:22:11 +0300 |
commit | 86db52a5062a77c6ee533586be2cef8672a20c7d (patch) | |
tree | cf438b1434cebba79bfc83094b65be6942b2c0f3 /src/backend/jit/llvm/llvmjit_expr.c | |
parent | 4e5d6c40914e2b890c4780d33de8ad07b1d79689 (diff) | |
download | postgresql-86db52a5062a77c6ee533586be2cef8672a20c7d.tar.gz postgresql-86db52a5062a77c6ee533586be2cef8672a20c7d.zip |
Use atomics to avoid locking in InjectionPointRun()
This allows using injection points without having a PGPROC, like early
at backend startup, or in the postmaster.
The injection points facility is new in v17, so backpatch there.
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Disussion: https://www.postgresql.org/message-id/4317a7f7-8d24-435e-9e49-29b72a3dc418@iki.fi
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions