Re: pgsql: Checkpoint sorting and balancing. - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: Checkpoint sorting and balancing.
Date
Msg-id 56E2239E.1050607@gmx.net
Whole thread Raw
In response to pgsql: Checkpoint sorting and balancing.  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: Checkpoint sorting and balancing.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
On 3/10/16 8:29 PM, Andres Freund wrote:
> Checkpoint sorting and balancing.

This patch appears to have introduced a change that makes the build
with dtrace fail:

In file included from ../../../../src/include/pg_trace.h:15:0,
                 from bufmgr.c:42:
bufmgr.c: In function 'BufferSync':
bufmgr.c:1939:59: error: 'num_to_write' undeclared (first use in this function)
  TRACE_POSTGRESQL_BUFFER_SYNC_DONE(NBuffers, num_written, num_to_write);
                                                           ^
../../../../src/include/utils/probes.h:93:83: note: in definition of macro 'TRACE_POSTGRESQL_BUFFER_SYNC_DONE'
  __dtrace_probe$postgresql$buffer__sync__done$v1$696e74$696e74$696e74(arg0, arg1, arg2); \
                                                                                   ^~~~
bufmgr.c:1939:59: note: each undeclared identifier is reported only once for each function it appears in
  TRACE_POSTGRESQL_BUFFER_SYNC_DONE(NBuffers, num_written, num_to_write);
                                                           ^
../../../../src/include/utils/probes.h:93:83: note: in definition of macro 'TRACE_POSTGRESQL_BUFFER_SYNC_DONE'
  __dtrace_probe$postgresql$buffer__sync__done$v1$696e74$696e74$696e74(arg0, arg1, arg2); \
                                                                                   ^~~~



pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Checkpoint sorting and balancing.
Next
From: Andres Freund
Date:
Subject: pgsql: Blindly try to fix dtrace enabled builds, broken in 9cd00c45.