Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zul4F-0006ss-KB for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 17:44:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zul4E-0002PH-G1 for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 17:44:50 +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 1Zul4D-0002N5-Ig; Fri, 06 Nov 2015 17:44:49 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Zul48-0004IW-HJ; Fri, 06 Nov 2015 17:44:48 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id A64591450037; Fri, 6 Nov 2015 18:44:41 +0100 (CET) Received: from kang.zoozer.local (ip-109-91-229-217.hsi12.unitymediagroup.de [109.91.229.217]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: avo@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id 665801450026; Fri, 6 Nov 2015 18:44:41 +0100 (CET) Subject: Re: [HACKERS] BUG #12989: pg_size_pretty with negative values To: Robert Haas , Julien Rouhaud References: <20150406173026.2550.39773@wrigleys.postgresql.org> <31955.1428346338@sss.pgh.pa.us> <55FEA38F.40301@credativ.de> <56350782.3040400@dalibo.com> <563BC7E6.9060101@credativ.de> Cc: "pgsql-bugs@postgresql.org" , "pgsql-hackers@postgresql.org" , Tom Lane , "David G. Johnston" , Christian Almeida From: Adrian Vondendriesch X-Enigmail-Draft-Status: N1110 Message-ID: <563CE704.1020104@credativ.de> Date: Fri, 6 Nov 2015 18:44:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Mf2gVR4wQtxrSNdmBW87ls23I01qhcxB8" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Mf2gVR4wQtxrSNdmBW87ls23I01qhcxB8 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Am 06.11.2015 um 17:06 schrieb Robert Haas: > On Thu, Nov 5, 2015 at 4:19 PM, Adrian.Vondendriesch > wrote: >> New patch attached and rebased on HEAD >> (8c75ad436f75fc629b61f601ba884c8f9313c9af). >=20 > I've committed this with some modifications: >=20 > - I changed the comment for the half_rounded() macros because the one > you had just restated the code. > - I tightened up the coding in numeric_half_rounded() very slightly. > - You didn't, as far as I can see, modify the regression test schedule > to execute the files you added. I consolidated them into one file, > added it to the schedule, and tightened up the SQL a bit. Looks much better now. >=20 > Thanks for the patch, and please let me know if I muffed anything. Thanks for reviewing and improving the changes. I changed the status to committed. Regards, - Adrian --Mf2gVR4wQtxrSNdmBW87ls23I01qhcxB8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWPOcEAAoJEJg+KbLX08eJ/K8H/A9uvx0gi+J28fcfhgHIpxnp jLxcHVqxXpH/fa80oq+cuHTtNG7IaEmjIvj0uRFzxeyEO3W77oRfRxmasDk+rdg9 N5B8eU3NzItH//9pxyYVa/GyunGu4VXd/Ee5XPJMyV8vudqHzJR22DxFYDKn38KE JXZ4yPPYIVk6nB0KygMiYQ7ZYseGgtB0nxjX//V4dC0XZ1Od7aVfinFGL4MAqrPM vLqkq1IVwreuUq0GGJZFH10qoy5bp2bbqrIz/TIJK4tvmbncf8FZzyVFtRbQdeMW qkm03ZNYGXb365YUfMLbX+2hooxgHLQSUEpRr6wQ0ZnO69izA4XRA7PWqjFYkWk= =Y2tn -----END PGP SIGNATURE----- --Mf2gVR4wQtxrSNdmBW87ls23I01qhcxB8--