1 /*--------------------------------------------------------------------------
4 * Definitions for statistics of injection points.
6 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/test/modules/injection_points/injection_stats.h
12 * -------------------------------------------------------------------------
15 #ifndef INJECTION_STATS
16 #define INJECTION_STATS
19 extern bool inj_stats_enabled
;
21 /* injection_stats.c */
22 extern void pgstat_register_inj(void);
23 extern void pgstat_create_inj(const char *name
);
24 extern void pgstat_drop_inj(const char *name
);
25 extern void pgstat_report_inj(const char *name
);
27 /* injection_stats_fixed.c */
28 extern void pgstat_register_inj_fixed(void);
29 extern void pgstat_report_inj_fixed(uint32 numattach
,