sampling

pg_sampletolog: An extension to log a sample of statements

This extension can be useful for diagnosing requests with very short execution times.