feature wish: filter log_min_duration_statement according to the context (parse|bind|execute|...)

From: Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: feature wish: filter log_min_duration_statement according to the context (parse|bind|execute|...)
Date: 2017-05-11 09:57:36
Message-ID: B6F6FD62F2624C4C9916AC0175D56D88593D7D9F@jenmbs01.ad.intershop.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,
setting log_min_duration_statement to 0 is usefull on test or development system, but this may lead to huge log files.
It would often be useful to discard the parse and bind entries.
maybe a new parameter like "log_min_duration_execute"?
I don't have the skills to implement this though.

best regards,

Marc Mamin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2017-05-11 11:16:00 Re: Bug in pg_dump --table and --exclude-table for declarative partition table handling.
Previous Message Rajkumar Raghuwanshi 2017-05-11 09:33:37 alter table..drop constraint pkey, left not null un-dropped