Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJoZl-0000tN-Ra for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Nov 2017 22:42:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJoZl-0003N3-4A for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Nov 2017 22:42:01 +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 1eJoZk-0003Mt-Lh for pgsql-hackers@lists.postgresql.org; Tue, 28 Nov 2017 22:42:00 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eJoZd-0005JW-JQ for pgsql-hackers@postgresql.org; Tue, 28 Nov 2017 22:42:00 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7C20E20CF4; Tue, 28 Nov 2017 17:41:51 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 28 Nov 2017 17:41:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=qnk4eO oVfD9vpn6oYZLXUnIa9oMkJoKs5pVTpW2DJt4=; b=asIHnHqAG70VQlnlJAYIWH lDW7P4tTTv3vMgS8Aj+WonOdOrATc74xJ9+8f8j3+P8o5gqXmk/f6e7GNeoYiKJs QkUwHrCbbfbc4cSk52wVX/YWX1NCvdOhCv5DamSR1X5pLZzRbGD2AMUUSLj9YDMT 1lVT1ygG385T9m0OUYoKniNMAplbe2opIAAQpOMSFHfCnhuB0lesACCgfku+Jonq gWE4idaLgAP39kV2D7qye+PWR+9cHjTnJckhIxQi7GoPfvq1Klxhv95IHRahgYX3 jaAmaXm0uJNV15ACM1/H1u28yItAEOeyF+DDQdwIQ2rjMBtXBbHt93Ub5jwKCiAA == X-ME-Sender: Received: from intern.anarazel.de (workshop-ca.bar1.sanfrancisco1.level3.net [4.16.199.142]) by mail.messagingengine.com (Postfix) with ESMTPA id 12F117EDB4; Tue, 28 Nov 2017 17:41:51 -0500 (EST) Date: Tue, 28 Nov 2017 14:41:50 -0800 From: Andres Freund To: =?utf-8?B?0K7RgNC40Lkg0KHQvtC60L7Qu9C+0LI=?= Cc: Peter Geoghegan , Tom Lane , Claudio Freire , Robert Haas , Sokolov Yura , Alvaro Herrera , Heikki Linnakangas , PostgreSQL-Dev Subject: Re: [HACKERS] Small improvement to compactify_tuples Message-ID: <20171128224150.syswowiaiojth7ke@alap3.anarazel.de> References: <20171107152004.axgznk3n5tkzvnnt@alap3.anarazel.de> <29007.1510090796@sss.pgh.pa.us> <19570.1510155199@sss.pgh.pa.us> <22996.1510160560@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2017-11-28 23:30:53 +0300, Юрий Соколов wrote: > index 1a8ee08c8b..607ed6a781 100644 > --- a/src/port/qsort.c > +++ b/src/port/qsort.c > @@ -8,7 +8,7 @@ > * in favor of a simple check for presorted input. > * Take care to recurse on the smaller partition, to bound stack usage. > * > - * CAUTION: if you change this file, see also qsort_arg.c, gen_qsort_tuple.pl > + * CAUTION: if you change this file, see also qsort_arg.c, qsort_template.h > * > * src/port/qsort.c > */ Maybe it's a stupid question. But would we still want to have this after the change? These should be just specializations of the template version imo. Greetings, Andres Freund