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

From Michael Paquier
Subject Re: Log a sample of transactions
Date
Msg-id 20190205034907.GD1882@paquier.xyz
Whole thread Raw
In response to Re: Log a sample of transactions  (Adrien NAYRAT <adrien.nayrat@anayrat.info>)
List pgsql-hackers
On Mon, Feb 04, 2019 at 04:32:05PM +0100, Adrien NAYRAT wrote:
> Could it be acceptable if I set log_min_duration_statement = 0?

At least this has the merit to make the behavior not rely on
randomness.  I have not looked at the patch in details so I cannot say
for sure, but I am not sure if it is worth the extra cycles to have
tests integrated so they may be removed from the final commit if they
are too expensive for little value.  It is always helpful to have
deterministic tests to give a shot at the feature and ease review of
course.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Allow some recovery parameters to be changed with reload
Next
From: Michael Paquier
Date:
Subject: Re: Feature: temporary materialized views