postgrespro / pg_wait_sampling

Sampling based statistics of wait events
Other
143 stars 34 forks source link

Move all inlined compatible wrappers into header file #57

Closed maksm90 closed 2 years ago

maksm90 commented 2 years ago

Current implementation segregated compatible inline function wrappers into separate .c file that prevented inlining of these functions into caller points in other modules. In current patch all these fuctions are moved to header file compat.h so that inlining works.

Resolve https://github.com/postgrespro/pg_wait_sampling/issues/45