Re: pgbench - use pg logging capabilities - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pgbench - use pg logging capabilities
Date
Msg-id 20200108141224.GB232928@paquier.xyz
Whole thread Raw
In response to Re: pgbench - use pg logging capabilities  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: pgbench - use pg logging capabilities  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Wed, Jan 08, 2020 at 02:27:46PM +0100, Peter Eisentraut wrote:
> Committed.

That was fast.

-   if (debug)
+   if (unlikely(__pg_log_level <= PG_LOG_DEBUG))
    {
I am surprised that you kept this one, while syntax_error() has been
changed in a more modular way.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgbench - use pg logging capabilities
Next
From: Peter Eisentraut
Date:
Subject: Re: pgbench - use pg logging capabilities