pgsql: injection_points: Add proper locking when reporting fixed-variab

2025-09-29 Thread Michael Paquier
injection_points: Add proper locking when reporting fixed-variable stats Contrary to its siblings for the archiver, the bgwriter and the checkpointer stats, pgstat_report_inj_fixed() can be called concurrently. This was causing an assertion failure, while messing up with the stats. This code is

pgsql: injection_points: Add proper locking when reporting fixed-variab

2025-09-29 Thread Michael Paquier
injection_points: Add proper locking when reporting fixed-variable stats Contrary to its siblings for the archiver, the bgwriter and the checkpointer stats, pgstat_report_inj_fixed() can be called concurrently. This was causing an assertion failure, while messing up with the stats. This code is