Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akSrV-0003tZ-07 for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2016 08:49:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1akSrU-0004ow-Dm for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2016 08:49:24 +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 1akSrQ-0004lu-Kf for pgsql-hackers@postgresql.org; Mon, 28 Mar 2016 08:49:20 +0000 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1akSrN-0000eu-Dv for pgsql-hackers@postgresql.org; Mon, 28 Mar 2016 08:49:19 +0000 Received: by mail-pf0-x22a.google.com with SMTP id 4so132536575pfd.0 for ; Mon, 28 Mar 2016 01:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=DFnt0ojUOfg5Vx8tnRtlC0Cw/bvXyOfpzBoISqdvLMk=; b=ncUV+d0NYePhrYmyJffSOSAo7xCVk4iuD1YmTx/OpAt/Qm2+E+muvMshoYIra4N338 b0IMIS7vBUP6vErkPw9AvGVp85s/r6Fbfr0UywhxX1B+TtJD/o3QeLjsV25YSWb5bUNO u8JuI77K0gqPNz/PqsBHMnINtJAaOk/c1/pZv5N+vVhy4y6b71PPbZg99slAzkA9hzqm Ll1itdcvKImBwwBc5xWqxcZFNwGGx4F4RIgy8fkaxfhyCd/JMD1NOUKr6Z3otBB0DCf7 qqVMPyVa8EstCBkVk/WgxkoyRHhoM1LjfUUL9CERHa907MSsm3Pfs24ZvYGgZRtIQN4r gwnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=DFnt0ojUOfg5Vx8tnRtlC0Cw/bvXyOfpzBoISqdvLMk=; b=HDJwW+d87vc5xhJ8Xvbe3Sfiba9bosh5YyxX2b9P7B9avEE+ra9ZXkI/0gQZN9W+aS FeH4PFRuIV0mgYxMcqkgpVsTiSu+S/0d9SC3VmFyw0NuloYQ4B8lV5ExztmrYTZPA6AI NDS2fFLTvsObfNRrpKMxx4xfg69jnHXXQcRi0IUg3kNhHokTL8ft2Cu/SpJOnNXUnARz dledT8UOfmp1b/sSDnoURRN4sNDPKLrVKFBiIsr2OUikRoZZs4iGJ+toL3ccEwQnhVrM vRNZ5z00AW7RcxpFuV79rCcchgfHNobU0dpUzIhq9VT/ZXDKopCgxTJNIQ/H3j5dm0DP EUbQ== X-Gm-Message-State: AD7BkJJpae7NBxdotWNs+i09BIJ76OofTsLg/FclVpqzzwtWMYe1GYFvfwQFtt2H/btEWvsLb5nnhwBRV+TnUtKM6BCTVWZ7/DxyYC+Vem4MUrCb/wTU5+YQTAB4zLAAuPiN1C82FOWNpaQTb1iA7jHPuFODdAEZXIPE6xOQhfMTRol9SIbS6/VSTtNX/u0nGEL/9wDSbf+v X-Received: by 10.98.42.4 with SMTP id q4mr40385516pfq.23.1459154955986; Mon, 28 Mar 2016 01:49:15 -0700 (PDT) Received: from [10.137.2.14] ([61.8.221.8]) by smtp.gmail.com with ESMTPSA id 85sm33738921pfl.18.2016.03.28.01.49.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Mar 2016 01:49:15 -0700 (PDT) Subject: Re: multivariate statistics v14 To: Alvaro Herrera References: <20160326190933.GA725919@alvherre.pgsql> Cc: Tom Lane , Petr Jelinek , Tatsuo Ishii , jeff.janes@gmail.com, pgsql-hackers@postgresql.org From: Tomas Vondra Message-ID: <3112096b-7d8f-6313-ff93-ce236e87d4d6@2ndquadrant.com> Date: Mon, 28 Mar 2016 10:49:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Thunderbird/46.0a2 MIME-Version: 1.0 In-Reply-To: <20160326190933.GA725919@alvherre.pgsql> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 03/26/2016 08:09 PM, Alvaro Herrera wrote: > Tomas Vondra wrote: > >> There are a few places where I reverted the pgindent formatting, because it >> seemed a bit too weird - the first one are the lists of function prototypes >> in common.h/mvstat.h, the second one are function calls to >> _greedy/_exhaustive methods. > > Function prototypes being weird is something that we've learned to > accept. There's no point in undoing pgindent decisions there, because > the next run will re-apply them anyway. Best not to fight it. > > What you should definitely look into fixing is the formatting of > comments, if the result is too horrible. You can prevent it from > messing those by adding dashes /*----- at the beginning of the comment. > Yep, formatting of some of the comments got slightly broken, but it wasn't difficult to fix that without the /*------- trick. I'm not sure about the prototypes though. It was a bit weird because prototypes in the same header file were formatted very differently. regards -- Tomas Vondra 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