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

From Alvaro Herrera
Subject Re: pgbench - use pg logging capabilities
Date
Msg-id 20200110002742.GA26712@alvherre.pgsql
Whole thread Raw
In response to Re: pgbench - use pg logging capabilities  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgbench - use pg logging capabilities  (Michael Paquier <michael@paquier.xyz>)
Re: pgbench - use pg logging capabilities  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2020-Jan-09, Fabien COELHO wrote:

> -    if (unlikely(__pg_log_level <= PG_LOG_DEBUG))
> +    if (pg_log_debug_level)
>      {

Umm ... I find the original exceedingly ugly, but the new line is
totally impenetrable.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: standby recovery fails (tablespace related) (tentative patch anddiscussion)
Next
From: Tom Lane
Date:
Subject: Re: logical decoding : exceeded maxAllocatedDescs for .spill files