Re: Log a sample of transactions - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Log a sample of transactions
Date
Msg-id 20190204022625.GA1881@paquier.xyz
Whole thread Raw
In response to Re: Log a sample of transactions  (Adrien Nayrat <adrien.nayrat@anayrat.info>)
Responses Re: Log a sample of transactions  (Adrien NAYRAT <adrien.nayrat@anayrat.info>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Timeout parameters
Next
From: Michael Paquier
Date:
Subject: Re: shared-memory based stats collector