pgsql: Use atomics to avoid locking in InjectionPointRun()

2024-07-15 Thread Heikki Linnakangas
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 Disussion: https://www.postgresql.o

pgsql: Use atomics to avoid locking in InjectionPointRun()

2024-07-15 Thread Heikki Linnakangas
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 Disussion: https://www.postgresql.o