Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aeCGH-0006IE-Fu for pgsql-committers@arkaria.postgresql.org; Fri, 11 Mar 2016 01:53:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aeCGH-0005Jc-1f for pgsql-committers@arkaria.postgresql.org; Fri, 11 Mar 2016 01:53:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aeCG4-00055P-Cb for pgsql-committers@postgresql.org; Fri, 11 Mar 2016 01:52:52 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aeCG1-0004Rs-Rn for pgsql-committers@postgresql.org; Fri, 11 Mar 2016 01:52:51 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3390B209D7 for ; Thu, 10 Mar 2016 20:52:49 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 10 Mar 2016 20:52:49 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=rROKVZ5Vuz7/TME9izr4L1H6194=; b=OIpLr jome+lR0VdSRSVM3LtxXftgHpa6BTNOSttohmaPEmsNWuV96qZBnt6+rNvfcjZcr ptMtXwweEMiNwecITc7Pbfo+rDgCBQ2ioZM/0pD8WUHX2aGVEZpD7mhpxkDVCn7d 72TQeS00fPvkbKju7urWmiWTCk8nBYQgYuLY+U= X-Sasl-enc: /DzMTMFeRnG99GMrKGcO+72k51h+d2LKBr6B2zyayozs 1457661168 Received: from intern.anarazel.de (unknown [184.23.178.130]) by mail.messagingengine.com (Postfix) with ESMTPA id E20D0C00018; Thu, 10 Mar 2016 20:52:48 -0500 (EST) Date: Thu, 10 Mar 2016 17:52:47 -0800 From: Andres Freund To: Peter Eisentraut Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Checkpoint sorting and balancing. Message-ID: <20160311015247.lxlduahlo6z63hlk@alap3.anarazel.de> References: <56E2239E.1050607@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56E2239E.1050607@gmx.net> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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