Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akZWh-0002iN-5t for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2016 15:56:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1akZWg-0008GN-GT for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2016 15:56:22 +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 1akZVL-0006iN-Fi for pgsql-hackers@postgresql.org; Mon, 28 Mar 2016 15:54:59 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1akZVG-0001Ko-Jl; Mon, 28 Mar 2016 15:54:58 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.83.202.40]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id A10E2401056; Mon, 28 Mar 2016 08:54:51 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7702E8CD; Mon, 28 Mar 2016 12:54:49 -0300 (CLT) Date: Mon, 28 Mar 2016 12:54:49 -0300 From: Alvaro Herrera To: Tomas Vondra Cc: Tom Lane , Petr Jelinek , Tatsuo Ishii , jeff.janes@gmail.com, pgsql-hackers@postgresql.org Subject: Re: multivariate statistics v14 Message-ID: <20160328155449.GA751254@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3112096b-7d8f-6313-ff93-ce236e87d4d6@2ndquadrant.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) 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 Tomas Vondra wrote: > I'm not sure about the prototypes though. It was a bit weird because > prototypes in the same header file were formatted very differently. Yeah, it is very odd. What happens is that the BSD indent binary does one thing (return type is in one line and function name in following line; subsequent argument lines are aligned to opening parens), then the pgindent perl script changes it (moves function name to same line as return type, but does not reindent subsequent lines of arguments). You can imitate the effect by adding an extra newline just before the function name, reflowing the arguments to align to the (, then deleting the extra newline. Rather annoying. -- Álvaro Herrera http://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