Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1izR7q-0005cF-CO for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Feb 2020 20:18:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1izR7o-0001bc-Uo for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Feb 2020 20:18:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1izR7o-0001bR-Hv for pgsql-hackers@lists.postgresql.org; Wed, 05 Feb 2020 20:18:16 +0000 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1izR7l-0002ty-JL for pgsql-hackers@lists.postgresql.org; Wed, 05 Feb 2020 20:18:16 +0000 Received: by mail-oi1-x230.google.com with SMTP id j132so2101697oih.9 for ; Wed, 05 Feb 2020 12:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=MMqGltu3mnKNB3A4mEzlvtbATI9yP9PXR3V3K7NhNoY=; b=xSM+hv+M8yCyn9lTTtRJVCtOo2Xo2QRnMFlUt6PWLPYY3027EfoDO8BmMeXvE+krpO ih4ofWVUSplRrxA7TvbuFPBgth+dkz1C/Ejbt/hhviyXomtBggg+CAkVtnCHBPhxDe2Q 0iXqTCGxp9Culnv+BOmzHemPNW4/bLrl07QzFJrjoGtfpXW7hGUqUtDUMIcnb6sep/mb /WuIMXb5n4oQ73FgHHDPxv1dgqgj9uGhytwQJ+wZ2HulRs+ZLWFgxUASENRPb1cofJmQ WjVJFkwJW7sgfNcSVDIB1MU4Vs4UVABpFId971496y1D6K6SbP/h5NJbPt4Fv41bM6iQ YrtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=MMqGltu3mnKNB3A4mEzlvtbATI9yP9PXR3V3K7NhNoY=; b=kxbFW/YEV7QvHgr9q7MGg02UVm5Ryw0yyDkc6Cuhw7UWdDicojDrrrk7YeK+6nLm1A 4F97z9agt3bRM6/aeZzHiIASQ5eB8eMni3G9UiOxJFajnXoHqZw200aQNu3QUshNLtwJ JbH1tY4nP7/wexyeqT63fZAhZh19blsO4qOarB5V4c/FpqQGVQefGemHVDxmWMrdvHpw Y0HG8GPfCugr7x86KEo0KHzBnQmd+t0Wln+AIDTVonC2+nOUP4FEYRVPj6jSWNUN/EVc RSvoLG+sBk3zUYV6EGtjBifczxG1bPWUNsSkQhuNne6XHIAc7GSYr7WpVUebw31xIz9k 9Ajg== X-Gm-Message-State: APjAAAXIZh7Fz4zZhLOZOQK+B2ISyPry/4fH/gU+NX+1PMvyVzeQO+I8 hgLYERNUnvn+020QWCOE1k6+ykhU4ejlsxINTdd0XRbT4KjVLJsfstszluflkqkqxHiV+IGh9Op YRhtQ1yyNdMpvcMqbRMpxYkn8JV5qRRIK6FO8C3eqzqmIVY1Nhu/RQq3soOK+ynOMX7+IoFlez1 Jmn5XtKHVp6M49MLmH X-Google-Smtp-Source: APXvYqzJ00fmRrRu0nlo1OHooWmoF1iHnsM+7AVANy1A0S3P72STnI9jl+haxlZyB5GC5HvBWlsfMA== X-Received: by 2002:a05:6808:994:: with SMTP id a20mr4301524oic.67.1580933891834; Wed, 05 Feb 2020 12:18:11 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([74.81.88.170]) by smtp.gmail.com with ESMTPSA id b145sm166978oii.31.2020.02.05.12.18.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2020 12:18:11 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id BD6E5300AB8; Wed, 5 Feb 2020 17:18:08 -0300 (-03) Date: Wed, 5 Feb 2020 17:18:08 -0300 From: Alvaro Herrera To: Tom Lane Cc: Pg Hackers Subject: Re: widen vacuum buffer counters Message-ID: <20200205201808.GA30278@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4969.1580508833@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Jan-31, Tom Lane wrote: > Also, %zd is the wrong format code for int64. Recommended practice > these days is to use "%lld" with an explicit cast of the printf argument > to long long (just to be sure). That doesn't work safely before v12, > and if you did insist on back-patching further, you'd need to jump > through hoops to avoid having platform-specific format codes in a > translatable string. (The side-effects for translation seem like > an independent argument against back-patching.) Pushed with that change; did not backpatch, because I don't think it's really worth the possible breakage :-) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services