Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmWEa-0001ju-3U for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Aug 2017 02:26:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dmWEZ-0002K8-MB for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Aug 2017 02:26:31 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dmWEY-0002Im-E1 for pgsql-hackers@postgresql.org; Tue, 29 Aug 2017 02:26:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dmWEV-000471-Hq for pgsql-hackers@postgresql.org; Tue, 29 Aug 2017 02:26:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v7T2QOrr009702; Mon, 28 Aug 2017 22:26:24 -0400 From: Tom Lane To: Michael Paquier cc: Robert Haas , Alvaro Herrera , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: pg_rewind: Fix some problems when copying files >2GB. In-reply-to: References: <20170828141631.zabmccmic7nmrel4@alvherre.pgsql> Comments: In-reply-to Michael Paquier message dated "Tue, 29 Aug 2017 11:22:12 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9700.1503973584.1@sss.pgh.pa.us> Date: Mon, 28 Aug 2017 22:26:24 -0400 Message-ID: <9701.1503973584@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Michael Paquier writes: > I don't like breaking the abstraction of pg_log() with the existing > flags with some kind of pg_debug() layer. The set of APIs present now > in pg_rewind for logging is nice to have, and I think that those debug > messages should be translated. So what about the attached? Your point about INT64_FORMAT not necessarily working with fprintf is an outstanding reason not to keep it like it is. I've not reviewed this patch in detail but I think this is basically the way to fix it. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers