Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmJjv-0006jG-5I for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Aug 2017 13:06:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dmJju-0000Sp-JD for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Aug 2017 13:06:02 +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_2) (envelope-from ) id 1dmJjt-0000OM-FH for pgsql-hackers@postgresql.org; Mon, 28 Aug 2017 13:06:01 +0000 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dmJji-0007J3-DU for pgsql-hackers@postgresql.org; Mon, 28 Aug 2017 13:06:00 +0000 Received: by mail-wm0-x234.google.com with SMTP id b82so2932748wmd.1 for ; Mon, 28 Aug 2017 06:05:49 -0700 (PDT) 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=90Ybl0OrptR8AiQlN5x0OxZj0zTyiIxly7JBKBCivQQ=; b=BBjdF4N/1Q2lpSpF58ub95csq1/4T40Vmt+aggtes850WWioOBXj6wcxY0Td51c91O 1zrSctLd5Y11C0ZaIyf7BG0EpqS4B5O7a9XKEiz6U7pkOYsfNTu5ch8QK0OiTQsrmKr9 NFEkO1XT/H1820kMzFhQZUVm4052voKhmrcCmr38xYrCCHGSVYAbJoB0AqkFVOJbCcCF rq29MprXOV9gsQj5fJpqmLSa7RKNh3N5vL08L7R25uEuQ2EzUdeIRdWF3PRvx0xOjoJa HCgmqHxRimLCAxESmpZ7wBa84V+A/J8VhW9Ij00dazAkM2kYb0qKHl3lLZDXqPH2OTOw C1uQ== 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=90Ybl0OrptR8AiQlN5x0OxZj0zTyiIxly7JBKBCivQQ=; b=iIyQFuv1potITqJmnMZkS2uZJnF27qDV8NUymEPd17B+0REJcqjPYPOnXBQwerMzWJ NeqvgCXIRAuatjHlJ2vfb8/RMf6LWaSecL/oxLOWsu7JY6nGp8Rpu+gbozRnl2bVfiJo dVNZGEaQXW+b54ctz7ORzzMKBpQoD92eMnYuuaFZjXztbxThCGGcnpDhcB+/z5KNFV+J Yo4MfL3GHgfAhxwQ0KT1jb1Bvkwd2iMkDJiiAwkvA5zXVBedq6ScCCvLdzdF23mANGx0 CB1kbUvwCTtfZqKw2xFFuy7z3Y8vvyHyu9q825oZa/FPKmgvhtly1CUFjBJBPs5Un5wW xjFA== X-Gm-Message-State: AHYfb5iAL86jT9EEBJOAf/x7/XfnRdNTHeiRGRT/ZXsD496qSHskCXaJ sv8UAhoTefj+B2OqvPU2dvlIrv1EV/N8nh6WVHBLxuVY9yGF+tbCuQQmpWfxZCv6W1gPs3/Zura l/EbPr5nYxDQ6zJ5RCAnupq16FEHLyKrgdXf3tP+vFf21QYN4DdhW7gzn3pjnSN5rCrd90w== X-Received: by 10.28.54.88 with SMTP id d85mr298706wma.37.1503925547275; Mon, 28 Aug 2017 06:05:47 -0700 (PDT) Received: from alvin.alvh.no-ip.org (net-5-89-62-13.cust.vodafonedsl.it. [5.89.62.13]) by smtp.gmail.com with ESMTPSA id u10sm329770wmf.25.2017.08.28.06.05.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2017 06:05:46 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id EB5EE5B9; Mon, 28 Aug 2017 10:05:45 -0300 (-03) Date: Mon, 28 Aug 2017 15:05:45 +0200 From: Alvaro Herrera To: Robert Haas Cc: pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: pg_rewind: Fix some problems when copying files >2GB. Message-ID: <20170828130545.sdajqlpr37hmmd6a@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) 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 Robert Haas wrote: > pg_rewind: Fix some problems when copying files >2GB. I just noticed that this broke pg_rewind translation, because of the INT64_FORMAT marker in the translatable string. The message catalog now has this: msgid "received chunk for file \"%s\", offset " for this source line: pg_log(PG_DEBUG, "received chunk for file \"%s\", offset " INT64_FORMAT ", size %d\n", filename, chunkoff, chunksize); I don't think that this is terribly valuable as a translatable string, so my preferred fix would be to have a new function pg_debug() here where the messages are *not* marked for translations. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers