mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
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
This commit is contained in:
@@ -1239,6 +1239,7 @@ InjectionPointCallback
|
||||
InjectionPointCondition
|
||||
InjectionPointConditionType
|
||||
InjectionPointEntry
|
||||
InjectionPointsCtl
|
||||
InjectionPointSharedState
|
||||
InlineCodeBlock
|
||||
InsertStmt
|
||||
|
||||
Reference in New Issue
Block a user