diff options
| author | Heikki Linnakangas | 2024-07-15 07:21:16 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2024-07-15 07:22:11 +0000 |
| commit | 86db52a5062a77c6ee533586be2cef8672a20c7d (patch) | |
| tree | cf438b1434cebba79bfc83094b65be6942b2c0f3 /src/tools | |
| parent | 4e5d6c40914e2b890c4780d33de8ad07b1d79689 (diff) | |
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/tools')
| -rw-r--r-- | src/tools/pgindent/typedefs.list | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 635e6d6e215..b4d7f9217ce 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -1239,6 +1239,7 @@ InjectionPointCallback InjectionPointCondition InjectionPointConditionType InjectionPointEntry +InjectionPointsCtl InjectionPointSharedState InlineCodeBlock InsertStmt |
