Re: libpq debug log - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: libpq debug log
Date
Msg-id 20210209105122.GA30281@alvherre.pgsql
Whole thread Raw
In response to Re: libpq debug log  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
On 2021-Feb-09, Kyotaro Horiguchi wrote:

> This looks like a fusion of PQtrace and PQtraceEX. By the way, the
> timestamp flag is needed at log emittion. So we can change the state
> anytime.
> 
> PQtrace(conn, of);
> PQtraceSetFlags(conn, PQTRACE_SUPPRESS_TIMESTAMPS);

I like this idea better than PQtraceEx().

-- 
Álvaro Herrera                            39°49'30"S 73°17'W



pgsql-hackers by date:

Previous
From: 'Alvaro Herrera'
Date:
Subject: Re: libpq debug log
Next
From: Amit Kapila
Date:
Subject: Re: pg_replication_origin_drop API potential race condition