Re: [PATCH] Identify LWLocks in tracepoints - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: [PATCH] Identify LWLocks in tracepoints
Date
Msg-id CAGRY4nw7ws6GoXnb=zBNgTNCBP95oF0zEP_EGT082KKk=BMA0A@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Identify LWLocks in tracepoints  (Andres Freund <andres@anarazel.de>)
Responses Re: [PATCH] Identify LWLocks in tracepoints
List pgsql-hackers


On Wed, 5 May 2021, 06:15 Andres Freund, <andres@anarazel.de> wrote:
Hi,

warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 1322 |    TRACE_POSTGRESQL_LWLOCK_WAIT_START(T_NAME(lock), mode);
      |                                                          ^


Odd that I didn't get that. 

I'll send a patch to revise shortly.

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: WIP: WAL prefetch (another approach)
Next
From: Jeff Davis
Date:
Subject: Re: MaxOffsetNumber for Table AMs