Re: Suggestion about logging only every n-th statement

From: Adrien Nayrat <adrien(dot)nayrat(at)anayrat(dot)info>
To: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>, <pgsql-general(at)lists(dot)postgresql(dot)org>, Janning Vygen <vygen(at)kicktipp(dot)de>
Subject: Re: Suggestion about logging only every n-th statement
Date: 2018-06-20 21:02:39
Message-ID: 54bc2166-95b4-f322-d923-ebefc4dd52a2@anayrat.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/20/2018 03:08 PM, Andreas Kretschmer wrote:
> I would suggest using of pg_stat_statements for that.

I agree, but sometimes it is not sufficient. For example, if you need query's
parameters.

--
Adrien NAYRAT

In response to

Browse pgsql-general by date

  From Date Subject
Next Message DiasCosta 2018-06-20 21:35:23 SQL Query never ending...
Previous Message David G. Johnston 2018-06-20 20:16:44 Re: Is there a way to be notified on the CREATE TABLE execution?