PostgreSQL provides information about current wait event of particular process.
However, in order to gather descriptive statistics of server behavior user have
to sample current wait event multiple times. This is an extension for collecting
sampling statistics of wait events.