pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Checkpoint sorting and balancing.
Date: Thu, 10 Mar 2016 17:52:47 -0800
Message-ID: <20160311015247.lxlduahlo6z63hlk@alap3.anarazel.de> (raw)
In-Reply-To: <56E2239E.1050607@gmx.net>
References: <E1aeBt7-0005jP-Il@gemulon.postgresql.org>
	<56E2239E.1050607@gmx.net>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 2016-03-10 20:47:10 -0500, Peter Eisentraut wrote:
> 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); \
>                                                                                    ^~~~

Hrmpf.  I tried to fix the issue; could you quickly verify?

These probes are a bit annoying; and I seriously doubt anybody actually
uses them. But obviously we should keep them working as long as we have
them.

Thanks!

Andres


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (5+ messages)  latest in thread

Message-ID: <20160311015247.lxlduahlo6z63hlk@alap3.anarazel.de>
Permalink:  ../20160311015247.lxlduahlo6z63hlk@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160311015247.lxlduahlo6z63hlk@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, peter_e@gmx.net
  Subject: Re: pgsql: Checkpoint sorting and balancing.
  In-Reply-To: <20160311015247.lxlduahlo6z63hlk@alap3.anarazel.de>
  References: <E1aeBt7-0005jP-Il@gemulon.postgresql.org> <56E2239E.1050607@gmx.net> <20160311015247.lxlduahlo6z63hlk@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox