Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aj9KH-0001Em-2T for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Mar 2016 17:45:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aj9KG-00076O-LF for pgsql-hackers@arkaria.postgresql.org; Thu, 24 Mar 2016 17:45:40 +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 1aj9KE-0006zP-Kr for pgsql-hackers@postgresql.org; Thu, 24 Mar 2016 17:45:38 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aj9K6-00038o-VR; Thu, 24 Mar 2016 17:45:37 +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 [181.42.19.17]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 1138E400999; Thu, 24 Mar 2016 10:45:24 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id E29525C4; Thu, 24 Mar 2016 14:45:20 -0300 (CLT) Date: Thu, 24 Mar 2016 14:45:20 -0300 From: Alvaro Herrera To: Tomas Vondra Cc: Petr Jelinek , Tatsuo Ishii , jeff.janes@gmail.com, pgsql-hackers@postgresql.org Subject: Re: multivariate statistics v14 Message-ID: <20160324174520.GA676490@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5b18d0a1-4dc7-78c7-784d-e1497e001675@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: > >+ values[Anum_pg_mv_statistic_stamcv - 1] = PointerGetDatum(data); > > > >Why the double space (that's actually in several places in several of > >the patches). > > To align the whole block like this: > > nulls[Anum_pg_mv_statistic_stadeps -1] = true; > nulls[Anum_pg_mv_statistic_stamcv -1] = true; > nulls[Anum_pg_mv_statistic_stahist -1] = true; > nulls[Anum_pg_mv_statistic_standist -1] = true; > > But I won't fight for this too hard, if it breaks rules somehow. Yeah, it will be undone by pgindent. I suggest you pgindent all the patches in the series. With some clever patch vs. patch -R application, you can do it without having to resolve any conflicts when pgindent modifies code that a patch further up in the series modifies again. -- Á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