On Tue, Jan 14, 2014 at 5:13 AM, Marti Raudsepp <marti(at)juffo(dot)org> wrote:
> You can use the auto_explain contrib module
I just remembered that there's also the pg_stat_plans extension, which
is closer to what you asked:
https://github.com/2ndQuadrant/pg_stat_plans . This one you'll have to
build yourself (it's not in contrib).
Regards,
Marti