Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agp9q-0006K7-HI for pgsql-committers@arkaria.postgresql.org; Fri, 18 Mar 2016 07:49:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1agp9p-0006v8-KN for pgsql-committers@arkaria.postgresql.org; Fri, 18 Mar 2016 07:49:17 +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 1agp9o-0006um-0K for pgsql-committers@postgresql.org; Fri, 18 Mar 2016 07:49:16 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agp9l-0006Et-4Y; Fri, 18 Mar 2016 07:49:15 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id D7D2321C6EAD; Fri, 18 Mar 2016 10:49:10 +0300 (MSK) Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dq3HvWmChJBe; Fri, 18 Mar 2016 10:49:09 +0300 (MSK) Received: from fujitsu (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id 9C92421C06BE; Fri, 18 Mar 2016 10:49:09 +0300 (MSK) Date: Fri, 18 Mar 2016 10:48:22 +0300 From: Aleksander Alekseev To: Robert Haas Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Improve memory management for external sorts. Message-ID: <20160318104822.334d3806@fujitsu> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/4.4zu+XzdVSiflf=33Pnyb8" X-Pg-Spam-Score: -1.9 (-) 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 --MP_/4.4zu+XzdVSiflf=33Pnyb8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline There is a typo in a comment. See attachment. There is also a typo in commit message: s/management/management/. But it is my understanding that we don't fix such things. --MP_/4.4zu+XzdVSiflf=33Pnyb8 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=typo.diff diff --git a/src/backend/utils/sort/tuplesort.c b/src/backend/utils/sort/tuplesort.c index d3070f8..dbedc27 100644 --- a/src/backend/utils/sort/tuplesort.c +++ b/src/backend/utils/sort/tuplesort.c @@ -2742,7 +2742,7 @@ batchmemtuples(Tuplesortstate *state) /* * Refund STANDARDCHUNKHEADERSIZE per tuple. * - * This sometimes fails to make memory use prefectly balanced, but it + * This sometimes fails to make memory use perfectly balanced, but it * should never make the situation worse. Note that Assert-enabled builds * get a larger refund, due to a varying STANDARDCHUNKHEADERSIZE. */ --MP_/4.4zu+XzdVSiflf=33Pnyb8 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers --MP_/4.4zu+XzdVSiflf=33Pnyb8--