Re: Log a sample of transactions

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Adrien Nayrat <adrien(dot)nayrat(at)anayrat(dot)info>
Cc: "Kuroda, Hayato" <kuroda(dot)hayato(at)jp(dot)fujitsu(dot)com>, "'pgsql-hackers(at)lists(dot)postgresql(dot)org'" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Log a sample of transactions
Date: 2019-02-04 02:26:25
Message-ID: 20190204022625.GA1881@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Feb 03, 2019 at 12:23:00PM +0100, Adrien Nayrat wrote:
> I did not find any test for log_min_duration that could help me. LCOV indicate
> there is no tests on this part (look check_log_duration()):
> https://coverage.postgresql.org/src/backend/tcop/postgres.c.gcov.html

These would take time to execute, even if you need to measure one
second, and may be hard to make stable on slow machines.

Moved to next CF.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-02-04 02:28:37 Re: shared-memory based stats collector
Previous Message Michael Paquier 2019-02-04 02:23:42 Re: Timeout parameters